Table of Contents

Property StartPresentationHandler

Namespace
DotNetBrowser.Cast
Assembly
DotNetBrowser.dll

StartPresentationHandler

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

IHandler<StartPresentationParameters, StartPresentationResponse> StartPresentationHandler { get; set; }

Property Value

IHandler<StartPresentationParameters, StartPresentationResponse>

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.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.