ESTRequestV2GetDeviceDetails
Deprecated
Please use ESTRequestGetDeviceDetails class for fetching device’s details from Estimote Cloud.
@interface ESTRequestV2GetDeviceDetails : ESTRequestGetJSON
ESTRequestV2GetDeviceDetails allows to get device details from the Estimote Cloud API v2.
-
Initialize request with device identifier.
Object will not be initialized if provided identifier will be an empty string.
Declaration
Objective-C
- (nonnull instancetype)initWithDeviceIdentifier: (nonnull NSString *)deviceIdentifier;Swift
init(deviceIdentifier: String)Parameters
deviceIdentifierIdentifier of the device. Identifier should not be an empty string.
Return Value
Initialized object.
-
Methods allows to send request with completion block invoked as a result.
Declaration
Objective-C
- (void)sendRequestWithCompletion: (nonnull ESTRequestV2GetDeviceDetailsBlock)completion;Swift
func sendRequest(completion: @escaping ESTRequestV2GetDeviceDetailsBlock)Parameters
completionRequest completion block. No error means request was successful.
View on GitHub
ESTRequestV2GetDeviceDetails Class Reference