ESTRequestGetSettingsHistory

@interface ESTRequestGetSettingsHistory : ESTRequestGetJSON

This request is fetching all device’s settings changes 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 ESTRequestGetSettingsHistoryBlock)completion;

    Swift

    func sendRequest(completion: @escaping ESTRequestGetSettingsHistoryBlock)

    Parameters

    completion

    Completion block with returned data (NSArray containing ESTBeaconUpdateInfo objects).