2026-03-30 11:40:06 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFComponent: Class TCefComponentRef< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-04-04 18:01:24 +02:00
< meta name = "generator" content = "PasDoc 1.0.4" >
2026-03-30 11:40:06 +02:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
< / style > < / head >
2026-03-30 11:40:06 +02:00
< body >
< span id = "TCefComponentRef" > < / span > < h1 class = "cio" > Class TCefComponentRef< / h1 >
< div class = "sections" >
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < / div >
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFComponent.html" > uCEFComponent< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type TCefComponentRef = class(< a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef< / a > , < a class = "normal" href = "uCEFInterfaces.ICefComponent.html" > ICefComponent< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p >
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. < / p >
< p >
< p > < see href=" < a href = "https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_component_updater_capi.h" > https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_component_updater_capi.h< / a > " > CEF source file: /include/capi/cef_component_updater_capi.h (cef_component_t))< / p >
< span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > TInterfacedObject< / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef< / a > < / li >
< li class = "thisitem" > TCefComponentRef< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < code > function < strong > < a href = "uCEFComponent.TCefComponentRef.html#GetId" > GetId< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < code > function < strong > < a href = "uCEFComponent.TCefComponentRef.html#GetName" > GetName< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < code > function < strong > < a href = "uCEFComponent.TCefComponentRef.html#GetVersion" > GetVersion< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < code > function < strong > < a href = "uCEFComponent.TCefComponentRef.html#GetState" > GetState< / a > < / strong > : < a href = "uCEFTypes.html#TCefComponentState" > TCefComponentState< / a > ;< / code > < / td >
< / tr >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
< td class = "itemcode" > < code > class function < strong > < a href = "uCEFComponent.TCefComponentRef.html#UnWrap-Pointer-" > UnWrap< / a > < / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefComponent.html" > ICefComponent< / a > ;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Methods< / h3 >
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < span id = "GetId" > < / span > < code > function < strong > GetId< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the unique identifier for this component. < / p >
< / td > < / tr >
< / table >
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < span id = "GetName" > < / span > < code > function < strong > GetName< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the human-readable name of this component. Returns an NULL string if the component is not installed. < / p >
< / td > < / tr >
< / table >
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < span id = "GetVersion" > < / span > < code > function < strong > GetVersion< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
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. < / p >
< / td > < / tr >
< / table >
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
< td class = "itemcode" > < span id = "GetState" > < / span > < code > function < strong > GetState< / strong > : < a href = "uCEFTypes.html#TCefComponentState" > TCefComponentState< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
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. < / p >
< / td > < / tr >
< / table >
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
< td class = "itemcode" > < span id = "UnWrap-Pointer-" > < / span > < code > class function < strong > UnWrap< / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefComponent.html" > ICefComponent< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-04-04 18:01:24 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.4< / a > . < / em >
2026-03-30 11:40:06 +02:00
< / span >
< / body > < / html >