ICastSession Interface |
The session is Discovered discovered when the user starts casting the browser/screen content or a presentation of media content via the DotNetBrowser API, or another application, i.e.Google Chrome. To indicate that the cast session has been started by another profile and, accordingly, a Chromium instance the IsLocal property is provided.
Namespace: DotNetBrowser.Cast
public interface ICastSession
The ICastSession type exposes the following members.
Name | Description | |
---|---|---|
Description |
Gets the description of the session. Examples: "Mirroring tab (www.example.com)",
"Casting media", "Casting YouTube".
| |
IsAlive |
Indicates whether this cast session is alive.
| |
IsLocal |
Indicates whether this cast session is initiated and managed by the current
IProfile.
| |
MediaReceiver |
Gets the media receiver of this session.
| |
Mode |
Gets the mode of the session.
|
Name | Description | |
---|---|---|
Stopped |
Occurs when a ICastSession session has been stopped.
Also, the cast session is stopped when the user starts a new cast session to the MediaReceiver receiver of this cast session. |