ICastCastScreen Method (IMediaReceiver) |
Starts casting screen's content by selecting the screen in the picker dialog.
Namespace:
DotNetBrowser.Cast
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.4
Syntax Task<ICastSession> CastScreen(
IMediaReceiver receiver
)
Parameters
- receiver
- Type: DotNetBrowser.CastIMediaReceiver
media receiver for casting.
Return Value
Type:
TaskICastSession
The task that represents the result of the asynchronous start of the cast session.
If the cast session has not been started, the task is completed with
CastSessionStartFailedException.
If the browser is closed during the casting start,the task will be canceled.
Exceptions Remarks
The receiver should support the Screen cast mode.
See Also