+ +
+
+

ESTRequestDeletePendingSettings

+
+
+
@interface ESTRequestDeletePendingSettings : ESTRequestPostJSON
+ +
+
+

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

+ +
+
+ +
+
+
+
    +
  • +
    + + + + deviceIdentifiers + +
    +
    +
    +
    +
    +
    +

    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])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + deviceIdentifiers + + +
    +

    Device’s identifier for which pending settings will be deleted.

    + +
    +
    +
    +
    +

    Return Value

    +

    Initialized request.

    + +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

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

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)sendRequestWithCompletion:
    +    (nonnull ESTRequestDeletePendingSettingsBlock)completion;
    + +
    +
    +

    Swift

    +
    func sendRequest(completion: @escaping ESTRequestDeletePendingSettingsBlock)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    Request completion block. No error means request was successful.

    + +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +