The ACRStatus
class represents the status.
More...
#import <ACRStatus.h>
The ACRStatus
class represents the status.
- Author
- Godfrey Chung
- Version
- 1.0, 8 Apr 2013
◆ initWithBytes:length:()
- (id) initWithBytes: |
|
(const void *) |
bytes |
length: |
|
(NSUInteger) |
length |
|
|
| |
Returns an initialized ACRStatus
object from a given buffer of bytes.
- Parameters
-
bytes | a buffer of bytes. |
length | the number of bytes. |
- Returns
- an initialized
ACRStatus
object.
◆ batteryLevel
- (NSUInteger) batteryLevel |
|
readnonatomicassign |
Returns the battery level.
Value | Meaning |
00h | Battery Level >= 3.0V |
01h | 2.9 <= Battery Level < 3.0V |
02h | 2.8 <= Battery Level < 2.9V |
03h | 2.7 <= Battery Level < 2.8V |
04h | 2.6 <= Battery Level < 2.7V |
05h | 2.5 <= Battery Level < 2.6V |
06h | 2.4 <= Battery Level < 2.5V |
07h | 2.3 <= Battery Level < 2.4V |
08h | Battery Level < 2.3V |
◆ sleepTimeout
- (NSUInteger) sleepTimeout |
|
readnonatomicassign |
Returns the sleep timeout in seconds.
The documentation for this class was generated from the following file: