Interface MaterialTapTargetPrompt.PromptStateChangeListener
-
- All Known Implementing Classes:
SequenceItem
,SequenceItemShowFor
- Enclosing class:
- MaterialTapTargetPrompt
public static interface MaterialTapTargetPrompt.PromptStateChangeListener
Interface definition for a callback to be invoked when a prompts state changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPromptStateChanged(MaterialTapTargetPrompt prompt, int state)
Called when the prompts state changes.
-
-
-
Method Detail
-
onPromptStateChanged
void onPromptStateChanged(@NonNull MaterialTapTargetPrompt prompt, int state)
Called when the prompts state changes.- Parameters:
prompt
- The prompt which state has changed.state
- can be eitherMaterialTapTargetPrompt.STATE_REVEALING
,MaterialTapTargetPrompt.STATE_REVEALED
,MaterialTapTargetPrompt.STATE_FOCAL_PRESSED
,MaterialTapTargetPrompt.STATE_FINISHED
,MaterialTapTargetPrompt.STATE_DISMISSING
,MaterialTapTargetPrompt.STATE_DISMISSED
-
-