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