public final class AlSourcePlayEvent extends java.lang.Object implements EventCancellable
AlSource.play() has been called| Constructor and Description |
|---|
AlSourcePlayEvent(@NotNull AlSource source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled()
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel)
Sets the cancellation state of this event.
|
protected final AlSource source
public AlSourcePlayEvent(@NotNull
@NotNull AlSource source)
public boolean isCancelled()
EventCancellableisCancelled in interface EventCancellablepublic void setCancelled(boolean cancel)
EventCancellablesetCancelled in interface EventCancellablecancel - true if you wish to cancel this event