ACS Audio Jack iOS Library  1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
ACRStatus Class Reference

The ACRStatus class represents the status. More...

#import <ACRStatus.h>

Inheritance diagram for ACRStatus:

Instance Methods

(id) - initWithBytes:length:
 Returns an initialized ACRStatus object from a given buffer of bytes. More...
 

Properties

NSUInteger batteryLevel
 Returns the battery level. More...
 
NSUInteger sleepTimeout
 Returns the sleep timeout in seconds. More...
 

Detailed Description

The ACRStatus class represents the status.

Author
Godfrey Chung
Version
1.0, 8 Apr 2013

Method Documentation

- (id) initWithBytes: (const void *)  bytes
length: (NSUInteger)  length 

Returns an initialized ACRStatus object from a given buffer of bytes.

Parameters
bytesa buffer of bytes.
lengththe number of bytes.
Returns
an initialized ACRStatus object.

Property Documentation

- (NSUInteger) batteryLevel
readnonatomicassign

Returns the battery level.

ValueMeaning
00hBattery Level >= 3.0V
01h2.9 <= Battery Level < 3.0V
02h2.8 <= Battery Level < 2.9V
03h2.7 <= Battery Level < 2.8V
04h2.6 <= Battery Level < 2.7V
05h2.5 <= Battery Level < 2.6V
06h2.4 <= Battery Level < 2.5V
07h2.3 <= Battery Level < 2.4V
08hBattery Level < 2.3V
- (NSUInteger) sleepTimeout
readnonatomicassign

Returns the sleep timeout in seconds.


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