Mode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioManager.GetRouting, and F:Android.Media.AudioManager.SetRouting members.
public enum Mode
type Mode =
- Inheritance
-
Mode
Fields
| Name | Value | Description |
|---|---|---|
| Invalid | -2 | Invalid audio mode. |
| Current | -1 | Current audio mode. |
| Normal | 0 | Normal audio mode: not ringing and no call established. |
| Ringtone | 1 | Ringing audio mode. |
| InCall | 2 | In call audio mode. |
| InCommunication | 3 | In communication audio mode. |
| CallScreening | 4 | Call screening in progress. Call is connected and audio is accessible to call screening applications but other audio use cases are still possible. Android reference for 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. |
| CallRedirect | 5 | A telephony call is established and its audio is being redirected to another device. Android reference for 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. |
| CommunicationRedirect | 6 | An audio/video chat or VoIP call is established and its audio is being redirected to another device. Android reference for 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. |
| AssistantConversation | 7 | Use this mode whenever an assistant conversation mode is started. To check if this mode is allowed to be used by an app, use canManageAssistantAudio(). Android reference for 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.