Method DefaultPresentationRequest
- Namespace
- DotNetBrowser.Cast
- Assembly
- DotNetBrowser.dll
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;
PresentationRequest DefaultPresentationRequest()
Returns
- PresentationRequest
The instance of the default JavaScript PresentationRequest.