Interface IPolyAudioService
com.poly.polyos.audio
Interface IPolyAudioService
public interface IPolyAudioService
Audio service exposed for PolyOS Clients
Since:
3.0.11
Method Summary
| Modifier and Type | Method and Description |
|---|---|
int | getVolume() |
| Returns current output volume level | |
boolean | isMicrophoneMuted() |
| Returns whether microphone is muted | |
boolean | isMicrophoneReady() |
| Check whether the microphone is ready after a system reboot | |
boolean | muteMicrophone(boolean mute) |
| Mutes or unmutes the microphone | |
void | registerAudioListener(IPolyAudioListener listener) |
Registers a IPolyAudioListener to get callbacks | |
void | setVolume(int volume) |
| Sets the output volume level | |
void | unRegisterAudioListener(IPolyAudioListener listener) |
Unregisters an IPolyAudioListener to get callbacks |
Method Detail
muteMicrophone
boolean muteMicrophone(boolean mute)
Mute or unmute the microphone
isMicrophoneMuted
boolean isMicrophoneMuted()
Returns whether the microphone is muted
isMicrophoneReady
boolean isMicrophoneReady()
Checks whether the microphone is ready after a system reboot
registerAudioListener
void registerAudioListener(IPolyAudioListener listener)
Registers an IPolyAudioListener to get callbacks
unRegisterAudioListener
void unRegisterAudioListener(IPolyAudioListener listener)
Unregisters a IPolyAudioListener to get callbacks
getVolume
int getVolume()
Returns current output volume level
Since:
3.3.0.0-4
setVolume
void setVolume(int volume)
Sets the output volume level
Since:
3.3.0.0-4