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 Details

    • Action

      public Action(Consumer<com.teamdev.jxbrowser.cast.internal.rpc.StartPresentation.Response> consumer)
  • Method Details

    • start

      public void start(MediaReceiver receiver)
      Starts the presentation on the receiver.
    • cancel

      public void cancel()
      Cancels the start of the presentation.