public interface

RequirementsWatcher.Listener

 androidx.media3.exoplayer.scheduler.RequirementsWatcher.Listener

Overview

Notified when RequirementsWatcher instance first created and on changes whether the Requirements are met.

Summary

Methods
public voidonRequirementsStateChanged(RequirementsWatcher requirementsWatcher, int notMetRequirements)

Called when there is a change on the met requirements.

Methods

public void onRequirementsStateChanged(RequirementsWatcher requirementsWatcher, int notMetRequirements)

Called when there is a change on the met requirements.

Parameters:

requirementsWatcher: Calling instance.
notMetRequirements: RequirementFlags that are not met, or 0.