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