Contents

MediaIntelligenceImageAsset.ID

A unique identifier for an image asset.

Declaration

struct ID

Overview

MediaIntelligenceImageAsset.ID is a string-backed identifier you assign to each image asset. The framework uses this value to track assets across calls to insertOrUpdateAssets(_:) and deleteAssets(_:).

Choose identifiers that remain constant for a specified image. For example, a photo library asset identifier or a file path that doesn’t change.

Topics

Creating an ID

See Also

Creating an asset