ICast Methods |
The ICast type exposes the following members.
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; |