RequirementsWatcher.Listener


interface RequirementsWatcher.Listener


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

Summary

Public functions

Unit
onRequirementsStateChanged(
    requirementsWatcher: RequirementsWatcher!,
    @Requirements.RequirementFlags notMetRequirements: Int
)

Called when there is a change on the met requirements.

Public functions

onRequirementsStateChanged

fun onRequirementsStateChanged(
    requirementsWatcher: RequirementsWatcher!,
    @Requirements.RequirementFlags notMetRequirements: Int
): Unit

Called when there is a change on the met requirements.

Parameters
requirementsWatcher: RequirementsWatcher!

Calling instance.

@Requirements.RequirementFlags notMetRequirements: Int

RequirementFlags that are not met, or 0.