# Class TCustomMediaObserver

Description
Hierarchy
Fields
Methods

## Unit

uCEFMediaObserver

## Declaration

`type TCustomMediaObserver = class(TCefMediaObserverOwn)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefMediaObserverOwn
- TCustomMediaObserver

## Overview

### Fields

Protected | `FEvents: Pointer;`

### Methods

Protected | `procedure OnSinks(const sinks: TCefMediaSinkArray); override;`
Protected | `procedure OnRoutes(const routes: TCefMediaRouteArray); override;`
Protected | `procedure OnRouteStateChanged(const route: ICefMediaRoute; state: TCefMediaRouteConnectionState); override;`
Protected | `procedure OnRouteMessageReceived(const route: ICefMediaRoute; const message_: ustring); override;`
Public | `constructor Create(const events: IChromiumEvents); reintroduce;`
Public | `destructor Destroy; override;`

## Description

### Fields

Protected | `FEvents: Pointer;`
This item has no description.

### Methods

Protected | `procedure OnSinks(const sinks: TCefMediaSinkArray); override;`
This item has no description. Showing description inherited from ICefMediaObserver.OnSinks. The list of available media sinks has changed or ICefMediaRouter.NotifyCurrentSinks was called.

Protected | `procedure OnRoutes(const routes: TCefMediaRouteArray); override;`
This item has no description. Showing description inherited from ICefMediaObserver.OnRoutes. The list of available media routes has changed or ICefMediaRouter.NotifyCurrentRoutes was called.

Protected | `procedure OnRouteStateChanged(const route: ICefMediaRoute; state: TCefMediaRouteConnectionState); override;`
This item has no description. Showing description inherited from ICefMediaObserver.OnRouteStateChanged. The connection state of |route| has changed.

Protected | `procedure OnRouteMessageReceived(const route: ICefMediaRoute; const message_: ustring); override;`
This item has no description. Showing description inherited from ICefMediaObserver.OnRouteMessageReceived. A message was received over |route|. |message| is only valid for the scope of this callback and should be copied if necessary.

Public | `constructor Create(const events: IChromiumEvents); reintroduce;`
This item has no description.

Public | `destructor Destroy; override;`
This item has no description.

Generated by PasDoc 1.0.4.