Click or drag to resize

CastClient Class

Version 130.1.90
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainBase
    CefSharp.DevTools.CastCastClient

Namespace: CefSharp.DevTools.Cast
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates 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 methodToStringReturns 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