Package live.hms.video.audio.manager
Class AudioManagerCompat
-
- All Implemented Interfaces:
public abstract class AudioManagerCompat
-
-
Method Summary
-
-
Method Detail
-
isBluetoothScoAvailableOffCall
boolean isBluetoothScoAvailableOffCall()
-
startBluetoothSco
void startBluetoothSco()
-
stopBluetoothSco
void stopBluetoothSco()
-
isBluetoothHeadsetAvailable
boolean isBluetoothHeadsetAvailable()
-
isBluetoothConnected
boolean isBluetoothConnected()
-
isBluetoothScoOn
boolean isBluetoothScoOn()
-
setBluetoothScoOn
void setBluetoothScoOn(boolean on)
-
getMode
int getMode()
-
setMode
void setMode(int modeInCommunication)
-
isSpeakerphoneOn
boolean isSpeakerphoneOn()
-
setSpeakerphoneOn
void setSpeakerphoneOn(boolean on)
-
isMicrophoneMute
boolean isMicrophoneMute()
-
setMicrophoneMute
void setMicrophoneMute(boolean on)
-
hasEarpiece
boolean hasEarpiece(@NonNull() Context context)
-
getConnectedBluetoothDevice
@RequiresApi(value = 31)@Nullable() AudioDeviceInfo getConnectedBluetoothDevice()
-
getAvailableCommunicationDevices
@RequiresApi(value = 31) List<AudioDeviceInfo> getAvailableCommunicationDevices()
-
getCommunicationDevice
@RequiresApi(value = 31)@Nullable() AudioDeviceInfo getCommunicationDevice()
-
setCommunicationDevice
@RequiresApi(value = 31) boolean setCommunicationDevice(@NonNull() AudioDeviceInfo device)
-
clearCommunicationDevice
@RequiresApi(value = 31) void clearCommunicationDevice()
-
registerAudioDeviceCallback
@RequiresApi(value = 23) void registerAudioDeviceCallback(@NonNull() AudioDeviceCallback deviceCallback, Handler handler)
-
unregisterAudioDeviceCallback
@RequiresApi(value = 23) void unregisterAudioDeviceCallback(@NonNull() AudioDeviceCallback deviceCallback)
-
isWiredHeadsetOn
boolean isWiredHeadsetOn()
-
ringVolumeWithMinimum
float ringVolumeWithMinimum()
-
getVoiceCallVolume
float getVoiceCallVolume()
-
createSoundPool
abstract SoundPool createSoundPool()
-
requestCallAudioFocus
abstract boolean requestCallAudioFocus()
-
abandonCallAudioFocus
abstract void abandonCallAudioFocus()
-
create
static AudioManagerCompat create(@NonNull() Context context)
-
-
-
-