Package dev.turboism.sdk.event.cubism
Class DrawableLockEvent.Before
java.lang.Object
dev.turboism.sdk.event.cubism.DrawableLockEvent.Before
- All Implemented Interfaces:
DrawableLockEvent,EventBus.TurboismEvent,TurboismEvent
- Enclosing interface:
- DrawableLockEvent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.turboism.sdk.event.cubism.DrawableLockEvent
DrawableLockEvent.After, DrawableLockEvent.Before, DrawableLockEvent.On -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondrawable()booleanlocked()Returns the candidate lock-state value that will be applied.openCallback(Drawable drawable, boolean requestedLocked, boolean locked) Opens a callback-scoped mutable candidate for the intercepted lock-state edit.booleanvoidsetLocked(boolean locked) Replaces the candidate lock-state value for the current callback.
-
Constructor Details
-
Before
-
-
Method Details
-
openCallback
public static DrawableLockEvent.Before.Callback openCallback(Drawable drawable, boolean requestedLocked, boolean locked) Opens a callback-scoped mutable candidate for the intercepted lock-state edit. -
drawable
- Specified by:
drawablein interfaceDrawableLockEvent
-
requestedLocked
public boolean requestedLocked() -
locked
public boolean locked()Returns the candidate lock-state value that will be applied. -
setLocked
public void setLocked(boolean locked) Replaces the candidate lock-state value for the current callback.
-