Click or drag to resize

ICastStartPresentationHandler Property

Gets or sets a handler that is used when a presentation has been requested via the JavaScript Presentation API.

Namespace:  DotNetBrowser.Cast
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.0
Syntax
C#
IHandler<StartPresentationParameters, StartPresentationResponse> StartPresentationHandler { get; set; }

Property Value

Type: IHandlerStartPresentationParameters, StartPresentationResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
Remarks

Use the Start(IMediaReceiver) method to use the given IMediaReceiver receiver.

Use theCancel method if the cast session request should be canceled.

If an exception occurs inside the handler implementation, the default behavior will be applied - the method Cancel will be used.

Presentation API is available only in secure contexts (HTTPS).

The callback can be invoked only if media routing is IsMediaRoutingEnabled enabled.

See Also