AudioManagerCompat

abstract class AudioManagerCompat

Functions

Link copied to clipboard
abstract fun abandonCallAudioFocus()
Link copied to clipboard
@RequiresApi(value = 31)
open fun clearCommunicationDevice()
Link copied to clipboard
Link copied to clipboard
abstract fun createSoundPool(): SoundPool
Link copied to clipboard
@RequiresApi(value = 31)
@Nullable
open fun getCommunicationDevice(): @Nullable AudioDeviceInfo
Link copied to clipboard
@RequiresApi(value = 31)
@Nullable
open fun getConnectedBluetoothDevice(): @Nullable AudioDeviceInfo
Link copied to clipboard
open fun getMode(): Int
Link copied to clipboard
Link copied to clipboard
open fun hasEarpiece(@NonNull context: Context): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@RequiresApi(value = 23)
open fun registerAudioDeviceCallback(@NonNull deviceCallback: AudioDeviceCallback, handler: Handler)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMode(modeInCommunication: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stopBluetoothSco()
Link copied to clipboard