public class POBAudioVolumeObserver
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.Double |
getAudioVolumePercentage(android.content.Context context)
Returns the current Audio Volume percentage of the device
|
protected void |
registerListener(android.content.Context context,
com.pubmatic.sdk.webrendering.mraid.POBAudioVolumeObserver.AudioVolumeChangeListener listener)
Registered the listener for notifying the change in the device's audio volume.
|
protected void |
unregisterListener(android.content.Context context,
com.pubmatic.sdk.webrendering.mraid.POBAudioVolumeObserver.AudioVolumeChangeListener listener)
Unregistered the provided listener.
|
@Nullable
protected static java.lang.Double getAudioVolumePercentage(@NonNull
android.content.Context context)
context - Valid contextprotected void registerListener(@NonNull
android.content.Context context,
@NonNull
com.pubmatic.sdk.webrendering.mraid.POBAudioVolumeObserver.AudioVolumeChangeListener listener)
context - Valid contextlistener - listener for notifying the change in the device's audio volumeprotected void unregisterListener(@NonNull
android.content.Context context,
com.pubmatic.sdk.webrendering.mraid.POBAudioVolumeObserver.AudioVolumeChangeListener listener)
context - Valid contextlistener - listener to unregister