---
title: MxMetadataOutput
description: "Stream输出的元数据的数据定义。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_1051.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_1051.html
indexId: 430a4770596d6f8984c12e0480ea604f2c56894367e860999386670a6a7a2bc2102
---
# MxMetadataOutput

#### 功能

Stream输出的元数据的数据定义。


#### 结构定义

```
class MxMetadataOutput:
def __init__(self):
self.errorCode = None
self.errorMsg = None
self.dataType= None
self.serializedMetadata = None
```


#### 参数说明

| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| errorCode | int | 输出错误码。 |
| errorMsg | bytes | 输出错误信息。 |
| dataType | bytes | 元数据的数据类型。 |
| serializedMetadata | bytes | 序列化的元数据。 |
