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
ambientLightSensors AmbientLight value.
Return Value
Initialized object.
-
Returns current value of Sensors AmbientLight setting.
Declaration
Objective-C
- (NSUInteger)getValue;Swift
func getValue() -> UIntReturn 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
completionBlock to be invoked when the operation is complete.
View on GitHub
ESTSettingSensorsAmbientLight Class Reference