ESTSettingOperation

@interface ESTSettingOperation : NSObject

ESTSettingOperation represents base class for setting operations mainly responsible for handling operation type.

  • Property describing the current operation status. Note that it will only be updated if operation is executed as a part of ESTBeaconOperationsCollection.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        ESTSettingOperationStatus status;

    Swift

    var status: ESTSettingOperationStatus { get set }
  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithType:(ESTSettingOperationType)type;

    Swift

    init(type: ESTSettingOperationType)

    Parameters

    type

    Type of operation (read or write).

    Return Value

    Instance of operation object.

  • Method returns type of setting operation.

    Declaration

    Objective-C

    - (ESTSettingOperationType)type;

    Swift

    func type() -> ESTSettingOperationType

    Return Value

    Type of operation.

  • Method used to determine where the setting is stored (Cloud database, device memory, or both). If not customized in subclass, defaults to ESTSettingStorageTypeDeviceCloud.

    Declaration

    Objective-C

    - (ESTSettingStorageType)storageType;

    Swift

    func storageType() -> ESTSettingStorageType

    Return Value

    Setting storage type.