enum class MediaDeviceType
The media device's type (Ex: video front camera, video rear camera, audio bluetooth)
AUDIO_BLUETOOTH |
|
AUDIO_WIRED_HEADSET |
|
AUDIO_USB_HEADSET |
|
AUDIO_BUILTIN_SPEAKER |
|
AUDIO_HANDSET |
|
VIDEO_FRONT_CAMERA |
|
VIDEO_BACK_CAMERA |
|
VIDEO_EXTERNAL_CAMERA |
|
OTHER |
toString |
fun toString(): String |
fromAudioDeviceInfo |
fun fromAudioDeviceInfo(audioDeviceInfo: Int): MediaDeviceType |
fromCameraMetadata |
fun fromCameraMetadata(cameraMetadata: Int): MediaDeviceType |