An image asset to analyze.
Create a ``MediaIntelligenceImageAsset`` to identify an image you want
``FaceGroupAnalyzer`` to process. Each asset has a unique identifier
you assign, and a ``MediaIntelligenceImageAsset/Kind`` value that
describes how the framework accesses the image data.
Use the same ``MediaIntelligenceImageAsset/ID`` value consistently for
a specified image. The framework uses this identifier to match new
submissions against existing data, so changing the identifier causes
the framework to treat the image as a new asset.
Creates an image asset with the specified identifier and kind.
- Parameters:
- id: A unique identifier for the asset.
- kind: A value that describes how the framework accesses the
image data.
get · iOS 27.0+
id
TypeScript
get id(): MediaIntelligenceImageAsset_ID
Swift declaration
let id: MediaIntelligenceImageAsset.ID
A unique identifier for the asset.
get · iOS 27.0+
kind
TypeScript
get kind(): MediaIntelligenceImageAsset_Kind
Swift declaration
let kind: MediaIntelligenceImageAsset.Kind
A value that describes how the framework accesses the image data.