public final class AlSourceWriteEvent extends java.lang.Object implements EventCancellable
DeviceSource.write(byte[]) has been called| Constructor and Description |
|---|
AlSourceWriteEvent(@NotNull AlSource source,
@NotNull java.nio.ByteBuffer buffer) |
| 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 AlSourceWriteEvent(@NotNull
@NotNull AlSource source,
@NotNull
@NotNull java.nio.ByteBuffer buffer)
public boolean isCancelled()
EventCancellableisCancelled in interface EventCancellablepublic void setCancelled(boolean cancel)
EventCancellablesetCancelled in interface EventCancellablecancel - true if you wish to cancel this event