ESTRequestCancelPendingSettings

@interface ESTRequestCancelPendingSettings : ESTRequestDelete

This request is deleting the device’s pending settings from the Estimote Cloud for authorized user.

  • Initialise request with MAC address.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMacAddress:(nonnull NSString *)macAddress;

    Swift

    init(macAddress: String)

    Parameters

    macAddress

    MAC address of device provided as NSString

    Return Value

    instance of request

  • Methods allows to send request with completion block invoked as a result.

    Declaration

    Objective-C

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

    Swift

    func sendRequest(completion: @escaping ESTRequestCancelPendingSettingsBlock)

    Parameters

    completion

    Completion block with optional NSError object.