♾️

App Intent Domains と Assistant Schemas まとめ

2024/06/27に公開

App Intent Domains とは

詳しくはこちら:
「App Intent Domains」 - アプリをSiri / Apple Intelligence対応にする方法

34
iOS 18では12個のドメインがリリース予定

36
今すぐ利用できるドメインはMailとPhotos

Assistant Schemas とは

詳しくはこちら:
「Assistant Schemas」 - アプリをSiri / Apple Intelligence対応にする方法


12のドメインにわたって100種類以上のスキーマが定義

現時点で利用可能な2つのドメインだけで計47個のスキーマが定義されている。

また In-app seach 専用だが System ドメインも現時点で利用可能。

System ドメイン

公式チュートリアル記事:

https://developer.apple.com/documentation/appintents/making-in-app-search-available-to-siri-and-apple-intelligence

インテントスキーマ一覧

var search: some AssistantSchema.Intent { get }

The app intent conforms to the Assistant schema for search.

Mail ドメイン

公式チュートリアル記事:

https://developer.apple.com/documentation/appintents/making-email-available-to-siri-and-apple-intelligence

インテントスキーマ一覧

https://developer.apple.com/documentation/appintents/assistantschema/mailintent

var archiveMail: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for archiving an email message..

var createDraft: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for creating an email draft.

var deleteDraft: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for deleting an email draft.

var deleteMail: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for deleting email messages.

var forwardMail: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for forwarding an email message.

var replyMail: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for replying to an email message..

var saveDraft: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for saving an email draft.

var sendDraft: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for sending an email draft.

var updateDraft: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for updating an email draft.

var updateMail: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for updating email messages.

エンティティスキーマ一覧

https://developer.apple.com/documentation/appintents/assistantschema/mailentity

var account: some AssistantSchema.Entity

The app entity describes an email account.

var draft: some AssistantSchema.Entity

The app entity describes an email draft.

var mailbox: some AssistantSchema.Entity

The app entity describes an email mailbox.

var message: some AssistantSchema.Entity

The app entity describes an email message.

Photos ドメイン

公式チュートリアル記事:

https://developer.apple.com/documentation/appintents/making-photos-and-videos-available-to-siri-and-apple-intelligence

インテントスキーマ一覧

https://developer.apple.com/documentation/appintents/assistantschema/photosintent

全26個。

var addAssetsToAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for adding an asset to an album.

var cleanupPhoto: some AssistantSchemas.Intent 

The app intent conforms to the schema for undoing edits to an asset.

var copyEdits: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for copying edits to an asset.

var createAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for creating an album.

var createAssets: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for creating an asset.

var crop: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for cropping an asset.

var deleteAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for deleting an album.

var deleteAssets: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for deleting an asset.

var duplicateAssets: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for duplicating an asset.

var openAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for opening an album.

var openAsset: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for opening an asset.

var pasteEdits: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for pasting edits to an asset.

var postToSharedAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for posting an asset to a shared album.

var removeAssetsFromAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for removing an asset from an album.

var search: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for searching the media library.

var setDepth: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for setting the aperture of an asset.

var setExposure: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for setting the exposure of an asset.

var setFilter: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for applying a filter to an asset.

var setRotation: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for rotating an asset.

var setSaturation: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for setting the saturation of an asset.

var setWarmth: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for setting the warmth of an asset.

var straighten: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for straightening an asset.

var toggleDepth: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for toggling the depth of an asset.

var toggleSuggestedEdits: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for enhancing an asset.

var updateAlbum: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for updating an album.

var updateAsset: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for updating an asset.

var updateRecognizedPerson: some AssistantSchema.Intent

The app intent conforms to the Assistant schema for updating a recognized person in an asset.

エンティティスキーマ一覧

https://developer.apple.com/documentation/appintents/assistantschema/photosentity

var album: some AssistantSchema.Entity

The app entity describes an album.

var asset: some AssistantSchema.Entity

The app entity describes a media asset.

var recognizedPerson: some AssistantSchema.Entity

The app entity describes a person who appears in an asset.

Enumスキーマ一覧

https://developer.apple.com/documentation/appintents/assistantschema/photosenum

var albumType: some AssistantSchema.Enum

The type of photo album.

var assetType: some AssistantSchema.Enum

The type of the asset.

var filterType: some AssistantSchema.Enum

The filter effect.

var rotationDirection: some AssistantSchema.Enum

The rotation direction.

Discussion