Cast |
The CastClient type exposes the following members.
Name | Description | |
---|---|---|
CastClient | Cast |
Name | Description | |
---|---|---|
DisableAsync | Stops observing for sinks and issues. | |
EnableAsync | Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired. | |
EnumToString(ContentEncoding) | (Inherited from DevToolsDomainBase) | |
EnumToString(CSPViolationType) | (Inherited from DevToolsDomainBase) | |
EnumToString(DisabledImageType) | (Inherited from DevToolsDomainBase) | |
EnumToString(Enum) | (Inherited from DevToolsDomainBase) | |
EnumToString(PermissionType) | (Inherited from DevToolsDomainBase) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
SetSinkToUseAsync | Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK. | |
StartDesktopMirroringAsync | Starts mirroring the desktop to the sink. | |
StartTabMirroringAsync | Starts mirroring the tab to the sink. | |
StopCastingAsync | Stops the active Cast session on the sink. | |
ToBase64String | (Inherited from DevToolsDomainBase) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
IssueUpdated | This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue. | |
SinksUpdated | This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to. |