Types

NOTE

The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.

HdrMetadataValue12+

type HdrMetadataValue = HdrMetadataType | HdrStaticMetadata | ArrayBuffer | HdrGainmapMetadata

Describes the HDR metadata values used by a PixelMap, which corresponds to the values available for HdrMetadataKey.

System capability: SystemCapability.Multimedia.Image.Core

Type Description
HdrMetadataType Metadata value corresponding to the HDR_METADATA_TYPE key in HdrMetadataKey.
HdrStaticMetadata Metadata value corresponding to the HDR_STATIC_METADATA key in HdrMetadataKey.
ArrayBuffer Metadata value corresponding to the HDR_DYNAMIC_METADATA key in HdrMetadataKey.
HdrGainmapMetadata Metadata value corresponding to the HDR_GAINMAP_METADATA key in HdrMetadataKey.