ESTRequestV3GetDeviceOwner

@interface ESTRequestV3GetDeviceOwner : ESTRequestGetJSON

Allows to get email address of device’s owner from the Estimote Cloud.

  • Designated initializer of the class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDeviceIdentifier:
        (nonnull NSString *)deviceIdentifier;

    Swift

    init(deviceIdentifier: String)

    Parameters

    deviceIdentifier

    Device identifier.

    Return Value

    Initialized object.

  • Sends a request to the Estimote Cloud.

    Declaration

    Objective-C

    - (void)sendRequestWithCompletion:
        (nonnull ESTRequestV3GetDeviceOwnerBlock)completion;

    Swift

    func sendRequest(completion: @escaping ESTRequestV3GetDeviceOwnerBlock)

    Parameters

    completion

    Request completion block with response and error information. No error means request was successful.