public final class AlSourcePauseEvent extends java.lang.Object implements EventCancellable
AlSource.pause() has been called| Constructor and Description |
|---|
AlSourcePauseEvent(@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 AlSourcePauseEvent(@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