ESTSettingPowerBatteryVoltage
@interface ESTSettingPowerBatteryVoltage : ESTSettingReadOnly <NSCopying>
ESTSettingPowerBatteryVoltage represents Power BatteryVoltage value.
-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithValue:(unsigned short)voltage;Swift
init(value voltage: UInt16)Parameters
voltagePower BatteryVoltage value.
Return Value
Initialized object.
-
Returns current value of BatteryVoltage setting.
Declaration
Objective-C
- (unsigned short)getValue;Swift
func getValue() -> UInt16Return Value
Power BatteryVoltage value.
-
Method allows to read value of initialized BatteryVoltage setting object.
Declaration
Objective-C
- (void)readValueWithCompletion: (nonnull ESTSettingPowerBatteryVoltageCompletionBlock)completion;Swift
func readValue(completion: @escaping ESTSettingPowerBatteryVoltageCompletionBlock)Parameters
completionBlock to be invoked when the operation is complete.
View on GitHub
ESTSettingPowerBatteryVoltage Class Reference