> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# onReportComponentInfo

APISummary
返回使用的组件标签名。

## 语法

### Android

```java
public void onReportComponentInfo(Set<String> mComponentSet);
```

#### 参数

- `mComponentSet`: 组件标签名集合。

### iOS

```objc
- (void)lynxView:(LynxView *)view didReportComponentInfo:(NSSet<NSString *> *)componentSet;
```

#### 参数

- `view`: LynxView 实例。
- `componentSet`: 组件标签名集合。

## 兼容性

**Compatibility Table**

**Query:** `lynx-native-api.lynx-view-client.on-report-component-info`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/lynx-view-client/on-report-component-info.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| on-report-component-info | Yes (1.0) | No | Yes (1.0) | No | No | No |

**`on-report-component-info`**

Return the used component tagName.

**Specifications:**

