ESTSettingDeviceInfoUptime
@interface ESTSettingDeviceInfoUptime : ESTSettingReadOnly <NSCopying>
ESTSettingDeviceInfoUptime represents DeviceInfo Uptime value.
-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithValue:(int)uptime;
Swift
init(value uptime: Int32)
Parameters
uptime
DeviceInfo Uptime value.
Return Value
Initialized object.
-
Returns current value of DeviceInfo Uptime setting.
Declaration
Objective-C
- (int)getValue;
Swift
func getValue() -> Int32
Return Value
DeviceInfo Uptime value.
-
Method allows to read value of initialized DeviceInfo Uptime setting object.
Declaration
Objective-C
- (void)readValueWithCompletion: (nonnull ESTSettingDeviceInfoUptimeCompletionBlock)completion;
Swift
func readValue(completion: @escaping ESTSettingDeviceInfoUptimeCompletionBlock)
Parameters
completion
Block to be invoked when the operation is complete.