Class MessageEvent.PromptPromise
java.lang.Object
- Enclosing class:
MessageEvent
Encapsulates a promise that should be fulfilled when implementingn a custom permissions prompt to record or play audio. Currently this is only used for the Javscript port.
See Displaying Custom Prompt to Play Audio for an example.
-
Nested Class Summary
Nested classes/interfaces inherited from class AsyncResource
AsyncResource.AsyncExecutionException, AsyncResource.CancellationException -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AsyncResource
addListener, all, all, asPromise, await, await, await, cancel, complete, error, except, except, get, get, get, isCancelled, isCancelled, isDone, isReady, onResult, ready, ready, waitForMethods inherited from class Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PromptPromise
public PromptPromise()
-