Package com.flashphoner.fpwcsapi
Class WCSAudioManager
java.lang.Object
com.flashphoner.fpwcsapi.WCSAudioManager
WCSAudioManager
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static WCSAudioManager
create
(android.media.AudioManager audioManager, android.hardware.SensorManager sensorManager) Constructionandroid.media.AudioManager
void
init()
boolean
void
void
setAudioTrack
(org.webrtc.AudioTrack audioTrack) void
setUseBluetoothSco
(boolean useBluetoothSco) void
setUseProximitySensor
(boolean useProxymitySensor) void
setUseSpeakerPhone
(boolean useSpeakerPhone) void
-
Method Details
-
create
public static WCSAudioManager create(android.media.AudioManager audioManager, android.hardware.SensorManager sensorManager) Construction -
init
public void init() -
close
public void close() -
setUseProximitySensor
public void setUseProximitySensor(boolean useProxymitySensor) -
setUseSpeakerPhone
public void setUseSpeakerPhone(boolean useSpeakerPhone) -
setUseBluetoothSco
public void setUseBluetoothSco(boolean useBluetoothSco) -
getAudioManager
public android.media.AudioManager getAudioManager() -
muteAudio
public void muteAudio() -
unmuteAudio
public void unmuteAudio() -
isMuteAudio
public boolean isMuteAudio() -
setAudioTrack
public void setAudioTrack(org.webrtc.AudioTrack audioTrack)
-