react-native-track-player
Version:
A fully fledged audio module created for music apps
37 lines (36 loc) • 1.59 kB
JavaScript
export var AndroidAudioContentType;
(function (AndroidAudioContentType) {
/**
* Content type value to use when the content type is music.
*
* See https://developer.android.com/reference/android/media/AudioAttributes#CONTENT_TYPE_MUSIC
*/
AndroidAudioContentType["Music"] = "music";
/**
* Content type value to use when the content type is speech.
*
* See https://developer.android.com/reference/android/media/AudioAttributes#CONTENT_TYPE_SPEECH
*/
AndroidAudioContentType["Speech"] = "speech";
/**
* Content type value to use when the content type is a sound used to
* accompany a user action, such as a beep or sound effect expressing a key
* click, or event, such as the type of a sound for a bonus being received in
* a game. These sounds are mostly synthesized or short Foley sounds.
*
* See https://developer.android.com/reference/android/media/AudioAttributes#CONTENT_TYPE_SONIFICATION
*/
AndroidAudioContentType["Sonification"] = "sonification";
/**
* Content type value to use when the content type is a soundtrack, typically
* accompanying a movie or TV program.
*/
AndroidAudioContentType["Movie"] = "movie";
/**
* Content type value to use when the content type is unknown, or other than
* the ones defined.
*
* See https://developer.android.com/reference/android/media/AudioAttributes#CONTENT_TYPE_UNKNOWN
*/
AndroidAudioContentType["Unknown"] = "unknown";
})(AndroidAudioContentType || (AndroidAudioContentType = {}));