ESTSettingSensorsAmbientLight
@interface ESTSettingSensorsAmbientLight : ESTSettingReadOnly <NSCopying>
ESTSettingSensorsAmbientLight represents Sensors AmbientLight value.
-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithValue:(NSUInteger)ambientLight;
Swift
init(value ambientLight: UInt)
Parameters
ambientLight
Sensors AmbientLight value.
Return Value
Initialized object.
-
Returns current value of Sensors AmbientLight setting.
Declaration
Objective-C
- (NSUInteger)getValue;
Swift
func getValue() -> UInt
Return Value
Sensors AmbientLight value.
-
Method allows to read value of initialized Sensors AmbientLight setting object.
Declaration
Objective-C
- (void)readValueWithCompletion: (nonnull ESTSettingSensorsAmbientLightCompletionBlock)completion;
Swift
func readValue(completion: @escaping ESTSettingSensorsAmbientLightCompletionBlock)
Parameters
completion
Block to be invoked when the operation is complete.