format.h

Overview

Related Modules:

MultiMedia_MediaCommon

Description:

Declares the media formats provided in the Format class.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::Media::FormatData

Represents the data format.

OHOS::Media::Format

Saves and sets media metadata, such as the media playback duration.

Enumerations

Enumeration Name

Description

OHOS::Media::FormatDataType : uint32_t {   OHOS::Media::FORMAT_TYPE_NONE, OHOS::Media::FORMAT_TYPE_INT32, OHOS::Media::FORMAT_TYPE_INT64, OHOS::Media::FORMAT_TYPE_FLOAT,   OHOS::Media::FORMAT_TYPE_DOUBLE, OHOS::Media::FORMAT_TYPE_STRING }

Enumerates formats.