Package com.brightcove.player.broadcasts
Class VolumeChangeMonitor
java.lang.Object
android.content.BroadcastReceiver
com.brightcove.player.broadcasts.VolumeChangeMonitor
@RestrictTo(LIBRARY)
public class VolumeChangeMonitor
extends android.content.BroadcastReceiver
-
Nested Class Summary
Nested classes/interfaces inherited from class android.content.BroadcastReceiver
android.content.BroadcastReceiver.PendingResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
onReceive
(android.content.Context context, android.content.Intent intent) void
void
Methods inherited from class android.content.BroadcastReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
-
Constructor Details
-
VolumeChangeMonitor
public VolumeChangeMonitor(android.content.Context context)
-
-
Method Details
-
onReceive
public void onReceive(android.content.Context context, android.content.Intent intent) - Specified by:
onReceive
in classandroid.content.BroadcastReceiver
-
startMonitoring
public void startMonitoring() -
stopMonitoring
public void stopMonitoring() -
getVolumeZeroDuration
public long getVolumeZeroDuration()
-