RequirementsWatcher.Listener


public interface RequirementsWatcher.Listener


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

Summary

Public methods

abstract void
onRequirementsStateChanged(
    RequirementsWatcher requirementsWatcher,
    @Requirements.RequirementFlags int notMetRequirements
)

Called when there is a change on the met requirements.

Public methods

onRequirementsStateChanged

abstract void onRequirementsStateChanged(
    RequirementsWatcher requirementsWatcher,
    @Requirements.RequirementFlags int notMetRequirements
)

Called when there is a change on the met requirements.

Parameters
RequirementsWatcher requirementsWatcher

Calling instance.

@Requirements.RequirementFlags int notMetRequirements

RequirementFlags that are not met, or 0.