ICastStartPresentationHandler Property |
Namespace: DotNetBrowser.Cast
IHandler<StartPresentationParameters, StartPresentationResponse> StartPresentationHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
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.