Class RequirementsWatcher

    • Method Detail

      • start

        @RequirementFlags
        public @com.google.android.exoplayer2.scheduler.Requirements.RequirementFlags int start()
        Starts watching for changes. Must be called from a thread that has an associated Looper. Listener methods are called on the caller thread.
        Returns:
        Initial RequirementFlags that are not met, or 0.
      • stop

        public void stop()
        Stops watching for changes.