Language

Route Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioManager.SetRouting, and F:Android.Media.AudioManager.SetRouting members.

public enum Route
type Route = 
Inheritance
Route

Fields

Name Value Description
All -1

Used for mask parameter of SetRouting(Mode, Route, Route).

Earpiece 1

This constant was deprecated in API level 15. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Routing audio output to earpiece

Android reference for android.media.AudioManager.ROUTE_EARPIECE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Speaker 2

This constant was deprecated in API level 15. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Routing audio output to speaker

Android reference for android.media.AudioManager.ROUTE_SPEAKER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bluetooth 4

This constant was deprecated in API level 15. use ROUTE_BLUETOOTH_SCO Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Android reference for android.media.AudioManager.ROUTE_BLUETOOTH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BluetoothSco 4

This constant was deprecated in API level 15. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Routing audio output to bluetooth SCO

Android reference for android.media.AudioManager.ROUTE_BLUETOOTH_SCO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Headset 8

This constant was deprecated in API level 15. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Routing audio output to headset

Android reference for android.media.AudioManager.ROUTE_HEADSET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BluetoothA2dp 16

This constant was deprecated in API level 15. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.

Routing audio output to bluetooth A2DP

Android reference for android.media.AudioManager.ROUTE_BLUETOOTH_A2DP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to