Interface ICefMediaSink

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefMediaSink = interface(ICefBaseRefCounted)

Description

Represents a sink to which media can be routed. Instances of this object are retrieved via ICefMediaObserver.OnSinks. The functions of this interface may be called on any browser process thread unless otherwise indicated.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_media_router_capi.h">CEF source file: /include/capi/cef_media_router_capi.h (cef_media_sink_t))

Hierarchy

Overview

Methods

Public function GetId: ustring;
Public function GetName: ustring;
Public function GetIconType: TCefMediaSinkIconType;
Public procedure GetDeviceInfo(const callback: ICefMediaSinkDeviceInfoCallback);
Public function IsCastSink: boolean;
Public function IsDialSink: boolean;
Public function IsCompatibleWith(const source: ICefMediaSource): boolean;

Properties

Public property ID : ustring read GetId;
Public property Name : ustring read GetName;
Public property IconType : TCefMediaSinkIconType read GetIconType;

Description

Methods

Public function GetId: ustring;

Returns the ID for this sink.

Attributes
GUID['{EDA1A4B2-2A4C-42DD-A7DF-901BF93D908D}']
Public function GetName: ustring;

Returns the name of this sink.

Public function GetIconType: TCefMediaSinkIconType;

Returns the icon type for this sink.

Public procedure GetDeviceInfo(const callback: ICefMediaSinkDeviceInfoCallback);

Asynchronously retrieves device info.

Public function IsCastSink: boolean;

Returns true (1) if this sink accepts content via Cast.

Public function IsDialSink: boolean;

Returns true (1) if this sink accepts content via DIAL.

Public function IsCompatibleWith(const source: ICefMediaSource): boolean;

Returns true (1) if this sink is compatible with |source|.

Properties

Public property ID : ustring read GetId;

Returns the ID for this sink.

Public property Name : ustring read GetName;

Returns the name of this sink.

Public property IconType : TCefMediaSinkIconType read GetIconType;

Returns the icon type for this sink.


Generated by PasDoc 0.16.0-snapshot.