AudioUsageKind 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 methods of AudioUsageKind.
public enum AudioUsageKind
type AudioUsageKind =
- Inheritance
-
AudioUsageKind
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | Usage value to use when the usage is unknown. 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. |
| Media | 1 | Usage value to use when the usage is media, such as music, or movie soundtracks. 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. |
| VoiceCommunication | 2 | Usage value to use when the usage is voice communications, such as telephony or VoIP. 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. |
| VoiceCommunicationSignalling | 3 | Usage value to use when the usage is in-call signalling, such as with a "busy" beep, or DTMF tones. 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. |
| Alarm | 4 | Usage value to use when the usage is an alarm (e.g. wake-up alarm). 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. |
| Notification | 5 | Usage value to use when the usage is notification. See other notification usages for more specialized uses. 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. |
| NotificationRingtone | 6 | Usage value to use when the usage is telephony ringtone. 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. |
| NotificationCommunicationRequest | 7 | This constant was deprecated in API level 33. Use USAGE_NOTIFICATION which is handled the same way as this usage by the audio framework Usage value to use when the usage is a request to enter/end a communication, such as a VoIP communication or video-conference. 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. |
| NotificationCommunicationInstant | 8 | This constant was deprecated in API level 33. Use USAGE_NOTIFICATION which is handled the same way as this usage by the audio framework Usage value to use when the usage is notification for an "instant" communication such as a chat, or SMS. 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. |
| NotificationCommunicationDelayed | 9 | This constant was deprecated in API level 33. Use USAGE_NOTIFICATION which is handled the same way as this usage by the audio framework Usage value to use when the usage is notification for a non-immediate type of communication such as e-mail. 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. |
| NotificationEvent | 10 | Usage value to use when the usage is to attract the user's attention, such as a reminder or low battery warning. 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. |
| AssistanceAccessibility | 11 | Usage value to use when the usage is for accessibility, such as with a screen reader. 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. |
| AssistanceNavigationGuidance | 12 | Usage value to use when the usage is driving or navigation directions. 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. |
| AssistanceSonification | 13 | Usage value to use when the usage is sonification, such as with user interface sounds. 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. |
| Game | 14 | Usage value to use when the usage is for game audio. 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. |
| Assistant | 16 | Usage value to use for audio responses to user queries, audio instructions or help utterances. 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.