|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.motorola.oem.hapi.A2dAutoPeriodConfig
public class A2dAutoPeriodConfig
The A2dAutoPeriodConfig class is designed for holding the configuration profile of A2D channel to period mode.
Constructor Summary | |
---|---|
A2dAutoPeriodConfig()
Constructs a new instance of A2dAutoPeriodConfig. |
Method Summary | |
---|---|
int |
getPeriod()
Gets period from A2dAutoPeriodConfig instance. |
void |
setPeriod(int period)
Sets period in A2dAutoPeriodConfig instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public A2dAutoPeriodConfig()
Constructs a new instance of A2dAutoPeriodConfig.
Sets notification period.
For notification period's initial value
see MOTOROLA KJAVA USER’ GUIDE.
Method Detail |
---|
public void setPeriod(int period) throws A2dException
Sets period in A2dAutoPeriodConfig instance. Period must be defined in integral multiples of 4, for example 4,8,12,...,100,..(the minimum period value is 4 sec)
period
- Notification period in seconds
A2dException
- setPeriod is called with illegal parameters. Error code - OEMException.ILLEGAL_PARAM_ERROR
public int getPeriod()
Gets period from A2dAutoPeriodConfig instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |