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
voltage
Power BatteryVoltage value.
Return Value
Initialized object.
-
Returns current value of BatteryVoltage setting.
Declaration
Objective-C
- (unsigned short)getValue;
Swift
func getValue() -> UInt16
Return 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
completion
Block to be invoked when the operation is complete.