One Logo Pool Ball
MediaIntelligence · IOS API REFERENCE

MediaIntelligenceImageAsset

struct · iOS 27.0+ · SDK 27.1

struct MediaIntelligenceImageAsset

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.

Members (3)

init · iOS 27.0+

init

TypeScript
static init(id: MediaIntelligenceImageAsset_ID, kind: MediaIntelligenceImageAsset_Kind): MediaIntelligenceImageAsset
Swift declaration
init(id: MediaIntelligenceImageAsset.ID, kind: MediaIntelligenceImageAsset.Kind)

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.

Skipped declarations

No declarations were skipped in this snapshot.

All MediaIntelligence types →