Class StartPresentationCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response>
com.teamdev.jxbrowser.browser.callback.StartPresentationCallback.Action
- Enclosing interface:
- StartPresentationCallback
public static final class StartPresentationCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response>
An action providing a response to the
StartPresentationCallback
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancels the start of the presentation.void
start
(MediaReceiver receiver) Starts the presentation on thereceiver
.Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
public Action(Consumer<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response> consumer)
-
-
Method Details
-
start
Starts the presentation on thereceiver
. -
cancel
public void cancel()Cancels the start of the presentation.
-