Class SequenceItemShowFor
java.lang.Object
uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItem
uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItemShowFor
- All Implemented Interfaces:
MaterialTapTargetPrompt.PromptStateChangeListener
public class SequenceItemShowFor extends SequenceItem
Shows a prompt in a sequence for the supplied milliseconds.
-
Constructor Summary
Constructors Constructor Description SequenceItemShowFor(SequenceState state, long milliseconds)
Constructor. -
Method Summary
Modifier and Type Method Description protected void
show(MaterialTapTargetPrompt prompt)
Show the created prompt for this sequence item.Methods inherited from class uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItem
addStateChanger, clearStateChangers, dismiss, finish, getState, onItemComplete, onPromptStateChanged, removeStateChanger, setSequenceListener, show
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SequenceItemShowFor
Constructor.- Parameters:
state
- The prompt that this item will show.milliseconds
- The number of milliseconds to show the prompt for.
-
-
Method Details
-
show
Description copied from class:SequenceItem
Show the created prompt for this sequence item.- Overrides:
show
in classSequenceItem
- Parameters:
prompt
- The prompt to show, this will never be null here.
-