Android SDK 100ms
lib
/
live.hms.video.audio.manager
/
AudioDeviceMapping
Audio
Device
Mapping
@
RequiresApi
(
value
=
31
)
object
AudioDeviceMapping
Functions
Functions
from
Platform
Type
Link copied to clipboard
@
JvmStatic
fun
fromPlatformType
(
type
:
Int
)
:
AudioManagerUtil.AudioDevice
get
Equivalent
Platform
Types
Link copied to clipboard
@
JvmStatic
fun
getEquivalentPlatformTypes
(
audioDevice
:
AudioManagerUtil.AudioDevice
)
:
List
<
Int
>
to
HMSMapping
Link copied to clipboard
@
JvmStatic
fun
toHMSMapping
(
signalDeviceMapping
:
AudioManagerUtil.AudioDevice
)
:
HMSAudioManager.AudioDevice
to
Signal
Mapping
Link copied to clipboard
@
JvmStatic
fun
toSignalMapping
(
hmsDeviceMapping
:
HMSAudioManager.AudioDevice
)
:
AudioManagerUtil.AudioDevice