ESTBeaconOperationPowerSmartPowerModeEnable
@interface ESTBeaconOperationPowerSmartPowerModeEnable
: ESTSettingOperation <ESTBeaconOperationProtocol>
ESTBeaconOperationPowerSmartPowerModeEnable allows to create read/write operations for Power SmartPowerModeEnabled setting of a device.
-
Method allows to create read operation for Power SmartPowerModeEnabled setting.
Declaration
Objective-C
+ (nonnull instancetype)readOperationWithCompletion: (nonnull ESTSettingPowerSmartPowerModeEnableCompletionBlock)completion;
Swift
class func readOperation(completion: @escaping ESTSettingPowerSmartPowerModeEnableCompletionBlock) -> Self
Parameters
completion
Block invoked when the operation is complete.
Return Value
Initialized object.
-
Method allows to create write operation for Power SmartPowerModeEnabled setting.
Declaration
Objective-C
+ (nonnull instancetype) writeOperationWithSetting: (nonnull ESTSettingPowerSmartPowerModeEnable *)setting completion: (nonnull ESTSettingPowerSmartPowerModeEnableCompletionBlock) completion;
Swift
class func writeOperation(withSetting setting: ESTSettingPowerSmartPowerModeEnable, completion: @escaping ESTSettingPowerSmartPowerModeEnableCompletionBlock) -> Self
Parameters
setting
Setting to be written to a device.
completion
Block invoked when the operation is complete.
Return Value
Initialized object.