|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.motorola.oem.hapi.A2dAutoThresholdConfig
public class A2dAutoThresholdConfig
The A2dAutoThresholdConfig class is designed for holding the configuration profile of a2d channel to threshold mode.General description:
Field Summary | |
---|---|
static short |
THRESHOLD_HIGH_LIMIT_HIGH
Constant specifying THRESHOLD_HIGH_LIMIT_HIGH. |
static short |
THRESHOLD_HIGH_LIMIT_LOW
Constant specifying THRESHOLD_HIGH_LIMIT_LOW. |
static short |
THRESHOLD_LOW_LIMIT_HIGH
Constant specifying THRESHOLD_LOW_LIMIT_HIGH. |
static short |
THRESHOLD_LOW_LIMIT_LOW
Constant specifying THRESHOLD_LOW_LIMIT_LOW. |
Constructor Summary | |
---|---|
A2dAutoThresholdConfig()
Constructs new instance of A2dAutoThresholdConfig. |
Method Summary | |
---|---|
short |
getThreshold(short thresholdType)
Gets threshold from A2dAutoThresholdConfig instance according thresholdType. |
void |
setThreshold(short thresholdType,
short threshold)
Sets threshold in A2dAutoThresholdConfig instance according to thresholdType. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short THRESHOLD_LOW_LIMIT_LOW
public static final short THRESHOLD_HIGH_LIMIT_LOW
public static final short THRESHOLD_LOW_LIMIT_HIGH
public static final short THRESHOLD_HIGH_LIMIT_HIGH
Constructor Detail |
---|
public A2dAutoThresholdConfig()
Constructs new instance of A2dAutoThresholdConfig.
Sets Thresholds initial values.
For thresholds initial values
see MOTOROLA KJAVA USER’ GUIDE.
Method Detail |
---|
public void setThreshold(short thresholdType, short threshold) throws A2dException
Sets threshold in A2dAutoThresholdConfig instance according to thresholdType.
thresholdType
- According to constants' fields.threshold
- Value must be in range: 0-255.
A2dException
- setThreshold is called with illegal parameters. Error code - OEMException.ILLEGAL_PARAM_ERROR
public short getThreshold(short thresholdType) throws A2dException
Gets threshold from A2dAutoThresholdConfig instance according thresholdType.
thresholdType
- According to constants' fields
A2dException
- Treshold invalid parameter (error code OEMException.ILLEGAL_PARAM_ERROR
)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |