Interface StartCaptureSessionCallback
- All Superinterfaces:
AsyncCallback<StartCaptureSessionCallback.Params,,StartCaptureSessionCallback.Action> BrowserAsyncCallback<StartCaptureSessionCallback.Params,,StartCaptureSessionCallback.Action> BrowserCallback,Callback
- All Known Implementing Classes:
DefaultStartCaptureSessionCallback,DefaultStartCaptureSessionCallback,DefaultStartCaptureSessionCallback
public interface StartCaptureSessionCallback
extends BrowserAsyncCallback<StartCaptureSessionCallback.Params,StartCaptureSessionCallback.Action>
This callback is invoked when a web page requests permission to start a capture session.
Use the StartCaptureSessionCallback.Action.selectSource(CaptureSource, AudioCaptureMode) or
the StartCaptureSessionCallback.Action.selectSource(Browser, AudioCaptureMode) method to allow the web page
to capture the specified source.
Use the StartCaptureSessionCallback.Action.cancel() method to deny the permission.
If the callback throws an exception, the StartCaptureSessionCallback.Action.cancel() is automatically invoked.
- Since:
- 7.20
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAn action to take inStartCaptureSessionCallback.static interfaceThe parameters of theStartCaptureSessionCallback. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on