Xsens DOT iOS SDK  ©2022 Xsens Technologies - Version: 2022.0.0
XsensDotBatteryInfo Class Reference

#import <XsensDotBatteryInfo.h>

Inheritance diagram for XsensDotBatteryInfo:

Instance Methods

(NSString *) - description
 

Class Methods

(instancetype) + infoWithChargeState:value:
 

Properties

BOOL chargeState
 
NSInteger value
 

Detailed Description

This class has battery information of sensor. Get current battery value and charging state.

Method Documentation

◆ description

- (NSString *) description

The Battery description

Returns
Battery description string, the format is : "Battery:(Charging, 45%") or @"Battery:(Uncharged, 45%)"

◆ infoWithChargeState:value:

+ (instancetype) infoWithChargeState: (BOOL)  chargeState
value: (NSInteger)  value 

Constructor method

Parameters
chargeStateCharging state
valueBattery value

Property Documentation

◆ chargeState

- (BOOL) chargeState
readnonatomicassign

Charging status property of the sensor, YES is charging, No is not charging

◆ value

- (NSInteger) value
readnonatomicassign

Battery value property of the sensor


The documentation for this class was generated from the following file: