One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppSchema.PresentationIntent

protocol · iOS 18.0+ · SDK 27.1

protocol PresentationIntent : AppSchema.Kind

Identifies intent schemas in the presentation domain.

Members (15)

get · iOS 18.0+

createSlide

Swift declaration
var createSlide: some AppSchemaIntent { get }

An intent schema that creates a new slide in a presentation document. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `createSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.createSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `createSlide` schema: ```swift @AppIntent(schema: .presentation.createSlide) struct CreatePresentationSlideIntent { var presentation: <#PresentationEntity#> var slideLayout: String? func perform() async throws -> some ReturnsValue<<#PresentationSlideEntity#>> { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

deleteSlide

Swift declaration
var deleteSlide: some AppSchemaIntent { get }

An intent schema that deletes slides in a presentation. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `deleteSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.deleteSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `deleteSlide` schema: ```swift @AppIntent(schema: .presentation.deleteSlide) struct DeletePresentationSlideIntent: DeleteIntent { var entities: [<#PresentationSlideEntity#>] func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

stopPlayback

Swift declaration
var stopPlayback: some AppSchemaIntent { get }

An intent schema that stops the currently playing presentation. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `stopPlayback` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.stopPlayback)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `stopPlayback` schema: ```swift @AppIntent(schema: .presentation.stopPlayback) struct StopPlaybackPresentationIntent { var presentation: <#PresentationEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

setSlideTitle

Swift declaration
var setSlideTitle: some AppSchemaIntent { get }

An intent schema that sets the title of the slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `setSlideTitle` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.setSlideTitle)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `setSlideTitle` schema: ```swift @AppIntent(schema: .presentation.setSlideTitle) struct UpdatePresentationSlideIntent { var target: <#PresentationSlideEntity#> var title: String func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

startPlayback

Swift declaration
var startPlayback: some AppSchemaIntent { get }

An intent schema that plays the presentation from the start or selected slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `startPlayback` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.startPlayback)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `startPlayback` schema: ```swift @AppIntent(schema: .presentation.startPlayback) struct StartPlaybackPresentationIntent { var presentation: <#PresentationEntity#> var target: <#PresentationSlideEntity#>? func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addAudioToSlide

Swift declaration
var addAudioToSlide: some AppSchemaIntent { get }

An intent schema that adds an audio clip to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addAudioToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addAudioToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addAudioToSlide` schema: ```swift @AppIntent(schema: .presentation.addAudioToSlide) struct AddAudioToPresentationSlideIntent { var audio: IntentFile var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addImageToSlide

Swift declaration
var addImageToSlide: some AppSchemaIntent { get }

An intent schema that adds an image to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addImageToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addImageToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addImageToSlide` schema: ```swift @AppIntent(schema: .presentation.addImageToSlide) struct AddImageToPresentationSlideIntent { var image: IntentFile var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addVideoToSlide

Swift declaration
var addVideoToSlide: some AppSchemaIntent { get }

An intent schema that adds a video to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addVideoToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addVideoToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addVideoToSlide` schema: ```swift @AppIntent(schema: .presentation.addVideoToSlide) struct AddVideoToPresentationSlideIntent { var video: IntentFile var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addCommentToSlide

Swift declaration
var addCommentToSlide: some AppSchemaIntent { get }

An intent schema that adds a comment to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addCommentToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addCommentToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addCommentToSlide` schema: ```swift @AppIntent(schema: .presentation.addCommentToSlide) struct AddCommentToPresentationSlideIntent { var comment: String? var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addTextBoxToSlide

Swift declaration
var addTextBoxToSlide: some AppSchemaIntent { get }

An intent schema that adds a text box to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addTextBoxToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addTextBoxToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addTextBoxToSlide` schema: ```swift @AppIntent(schema: .presentation.addTextBoxToSlide) struct AddTextBoxToPresentationSlideIntent { var text: String var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

addWebVideoToSlide

Swift declaration
var addWebVideoToSlide: some AppSchemaIntent { get }

An intent schema that adds a web video to a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `addWebVideoToSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.addWebVideoToSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `addWebVideoToSlide` schema: ```swift @AppIntent(schema: .presentation.addWebVideoToSlide) struct AddWebVideoToPresentationSlideIntent { var url: URL var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

open

Swift declaration
var open: some AppSchemaIntent { get }

An intent schema that opens the app into an existing presentation. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `open` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.open)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `open` schema: ```swift @AppIntent(schema: .presentation.open) struct OpenPresentationIntent: OpenIntent { var target: <#PresentationEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

create

Swift declaration
var create: some AppSchemaIntent { get }

An intent schema that opens the app for composing a new presentation. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `create` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.create)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `create` schema: ```swift @AppIntent(schema: .presentation.create) struct CreatePresentationIntent { var template: <#PresentationTemplateEntity#>? func perform() async throws -> some ReturnsValue<<#PresentationEntity#>> { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

update

Swift declaration
var update: some AppSchemaIntent { get }

An intent schema that renames an existing presentation. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `update` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.update)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `update` schema: ```swift @AppIntent(schema: .presentation.update) struct UpdatePresentationIntent { var target: <#PresentationEntity#> var name: String? func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

get · iOS 18.0+

openSlide

Swift declaration
var openSlide: some AppSchemaIntent { get }

An intent schema that opens a slide. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `presentation` domain and one of your app's actions matches the `openSlide` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .presentation.openSlide)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `openSlide` schema: ```swift @AppIntent(schema: .presentation.openSlide) struct OpenPresentationSlideIntent: OpenIntent { var target: <#PresentationSlideEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Shortcuts For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →