-
public final class AudioType.CustomAudioType extends AudioType
An audio type that takes in a user-defined AudioAttributes and audio stream type.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegeraudioModeprivate final AudioAttributesaudioAttributesprivate final IntegeraudioStreamType
-
Constructor Summary
Constructors Constructor Description AudioType.CustomAudioType(Integer audioMode, AudioAttributes audioAttributes, Integer audioStreamType)
-
Method Summary
Modifier and Type Method Description final IntegergetAudioMode()The audio mode to use when playing audio through LiveKit. final AudioAttributesgetAudioAttributes()The audio attributes to use when playing audio through LiveKit. final IntegergetAudioStreamType()The audio attributes to use when playing audio through LiveKit on pre-O devices. -
-
Constructor Detail
-
AudioType.CustomAudioType
AudioType.CustomAudioType(Integer audioMode, AudioAttributes audioAttributes, Integer audioStreamType)
-
-
Method Detail
-
getAudioMode
final Integer getAudioMode()
The audio mode to use when playing audio through LiveKit.
-
getAudioAttributes
final AudioAttributes getAudioAttributes()
The audio attributes to use when playing audio through LiveKit.
-
getAudioStreamType
final Integer getAudioStreamType()
The audio attributes to use when playing audio through LiveKit on pre-O devices.
-
-
-
-