# Class TCefComponentRef

Description
Hierarchy
Methods

## Unit

uCEFComponent

## Declaration

`type TCefComponentRef = class(TCefBaseRefCountedRef, ICefComponent)`

## Description

Structure representing a snapshot of a component's state at the time of retrieval. To get updated information, retrieve a new cef_component_t object via ICefComponentUpdater.GetComponentById or GetComponents. The functions of this structure may be called on any thread.

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

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefComponentRef

## Overview

### Methods

Protected | `function GetId: ustring;`
Protected | `function GetName: ustring;`
Protected | `function GetVersion: ustring;`
Protected | `function GetState: TCefComponentState;`
Public | `class function UnWrap(data: Pointer): ICefComponent;`

## Description

### Methods

Protected | `function GetId: ustring;`
Returns the unique identifier for this component.

Protected | `function GetName: ustring;`
Returns the human-readable name of this component. Returns an NULL string if the component is not installed.

Protected | `function GetVersion: ustring;`
Returns the version of this component as a string (e.g., "1.2.3.4"). Returns an NULL string if the component is not installed.

Protected | `function GetState: TCefComponentState;`
Returns the state of this component at the time this object was created. A component is considered installed when its state is one of: CEF_COMPONENT_STATE_UPDATED, CEF_COMPONENT_STATE_UP_TO_DATE, or CEF_COMPONENT_STATE_RUN.

Public | `class function UnWrap(data: Pointer): ICefComponent;`
This item has no description.

Generated by PasDoc 1.0.4.