Click or drag to resize

ICastDefaultPresentationRequest Method

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;

Namespace:  DotNetBrowser.Cast
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.26.2
Syntax
C#
PresentationRequest DefaultPresentationRequest()

Return Value

Type: PresentationRequest
The instance of the default JavaScript PresentationRequest.
See Also