Click or drag to resize

CastClient Class

Version 118.6.80
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
Inheritance Hierarchy

Namespace:  CefSharp.DevTools.Cast
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public class CastClient : DevToolsDomainBase

The CastClient type exposes the following members.

Constructors
  NameDescription
Public methodCastClient
Cast
Top
Methods
  NameDescription
Public methodDisableAsync
Stops observing for sinks and issues.
Public methodEnableAsync
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.
Protected methodEnumToString(ContentEncoding) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(CSPViolationType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(DisabledImageType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetSinkToUseAsync
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.
Public methodStartDesktopMirroringAsync
Starts mirroring the desktop to the sink.
Public methodStartTabMirroringAsync
Starts mirroring the tab to the sink.
Public methodStopCastingAsync
Stops the active Cast session on the sink.
Protected methodToBase64String (Inherited from DevToolsDomainBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventIssueUpdated
This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue.
Public eventSinksUpdated
This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to.
Top
See Also