public static final class StartPresentationCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response>
StartPresentationCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the start of the presentation.
|
void |
start(MediaReceiver receiver)
Starts the presentation on the
receiver. |
isClosedpublic Action(java.util.function.Consumer<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response> consumer)
public void start(MediaReceiver receiver)
receiver.public void cancel()