|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
AudioPathControl provides access to changing the audio path on media streams.
| Field Summary | ||
static int |
AUDIO_PATH_BLUETOOTH
Audio Path is Bluetooth SCO such as a paired Bluetooth enabled device, for example, a Bluetooth car kit. |
|
static int |
AUDIO_PATH_BLUETOOTH_A2DP
Audio Path is for a paired Bluetooth enabled device such as a Bluetooth stereo headset for listening to music. |
|
static int |
AUDIO_PATH_HANDSET
Audio Path is the earpiece on the BlackBerry device. |
|
static int |
AUDIO_PATH_HANDSFREE
Audio Path is the speakerphone on the BlackBerry device. |
|
static int |
AUDIO_PATH_HEADSET
Audio Path is the BlackBerry Hands-free Headset. |
|
static int |
AUDIO_PATH_HEADSET_HANDSFREE
Audio Path is the speakerphone on the BlackBerry device and the BlackBerry Hands-free Headset. |
|
| Method Summary | ||
int |
getAudioPath()
Returns the current audio path. |
|
void |
setAudioPath(int newPath)
Requests a change from the current audio path to the given audio path. |
|
| Field Detail |
public static final int AUDIO_PATH_BLUETOOTH
public static final int AUDIO_PATH_BLUETOOTH_A2DP
public static final int AUDIO_PATH_HANDSET
public static final int AUDIO_PATH_HANDSFREE
public static final int AUDIO_PATH_HEADSET
public static final int AUDIO_PATH_HEADSET_HANDSFREE
| Method Detail |
public int getAudioPath()
public void setAudioPath(int newPath)
throws MediaException,
IllegalArgumentException
newPath - The audio path to switch to; one of the AUDIO_PATH_ values.MediaException - if the change is not allowed.IllegalArgumentException - if the newPath parameter is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2008 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.