ICast Interface |
Namespace: DotNetBrowser.Cast
public interface ICast
The ICast type exposes the following members.
| Name | Description | |
|---|---|---|
| StartPresentationHandler |
Gets or sets a handler that is used when a presentation has been requested via the JavaScript
Presentation API.
|
| Name | Description | |
|---|---|---|
| CastContent |
Starts casting the browser content to IMediaReceiver.
| |
| CastScreen(IMediaReceiver) |
Starts casting screen's content by selecting the screen in the picker dialog.
| |
| CastScreen(IMediaReceiver, ScreenCastOptions) |
Starts casting the screen's content to the media receiver.
| |
| DefaultPresentationRequest |
The default JavaScript PresentationRequest specified on the page.
Usually, the default PresentationRequest is specified on resources like YouTube. The developer can specify it this way: const presentationRequest = new PresentationRequest(['receiver/index.html']); navigator.presentation.defaultRequest = presentationRequest; |