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

    Constructors
    Constructor
    Description
    VolumeChangeMonitor(android.content.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class android.content.BroadcastReceiver
    • startMonitoring

      public void startMonitoring()
    • stopMonitoring

      public void stopMonitoring()
    • getVolumeZeroDuration

      public long getVolumeZeroDuration()