ESTRequestV2DeletePendingSettings

@interface ESTRequestV2DeletePendingSettings : ESTRequestPostJSON

ESTRequestV2DeletePendingSettings allows to delete all pending settings for provided list of devices.

  • Identifiers of a devices for whom pending settings should be removed.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSArray<NSString *> *_Nonnull deviceIdentifiers;

    Swift

    var deviceIdentifiers: [String] { get }
  • Initialize request with device’s identifiers.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDeviceIdentifiers:
        (nonnull NSArray<NSString *> *)deviceIdentifiers;

    Swift

    init(deviceIdentifiers: [String])
  • Methods allows to send request with completion block invoked as a result.

    Declaration

    Objective-C

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

    Swift

    func sendRequest(completion: @escaping ESTRequestV2DeletePendingSettingsBlock)

    Parameters

    completion

    Request completion block. No error means request was successful.