One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppSchema.MapsIntent

protocol · iOS 27.0+ · SDK 27.1

protocol MapsIntent : AppSchema.Kind

Identifies intent schemas in the maps domain.

Members (6)

get · iOS 27.0+

stopShareETA

Swift declaration
var stopShareETA: some AppSchemaIntent { get }

An intent schema that stops sharing ETA. 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 `maps` domain and one of your app's actions matches the `stopShareETA` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.stopShareETA)` 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 `stopShareETA` schema: ```swift @AppIntent(schema: .maps.stopShareETA) struct MapsStopShareETAIntent { var person: IntentPerson? func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 27.0+

reportIncident

Swift declaration
var reportIncident: some AppSchemaIntent { get }

An intent schema that reports a traffic incident on the route. 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 `maps` domain and one of your app's actions matches the `reportIncident` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.reportIncident)` 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 `reportIncident` schema: ```swift @AppIntent(schema: .maps.reportIncident) struct ReportIncidentIntent { var incident: <#MapsIncidentEnum#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 27.0+

stopNavigation

Swift declaration
var stopNavigation: some AppSchemaIntent { get }

An intent schema that ends navigation. 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 `maps` domain and one of your app's actions matches the `stopNavigation` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.stopNavigation)` 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 `stopNavigation` schema: ```swift @AppIntent(schema: .maps.stopNavigation) struct StopNavigationIntent { var navigation: <#MapsNavigationSessionEntity#> func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 27.0+

startNavigation

Swift declaration
var startNavigation: some AppSchemaIntent { get }

An intent schema that starts navigation. 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 `maps` domain and one of your app's actions matches the `startNavigation` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.startNavigation)` 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 `startNavigation` schema: ```swift @AppIntent(schema: .maps.startNavigation) struct MapsStartNavigationIntent { var transportationType: <#MapsTransportTypeEnum#> var origin: <#MapsLocation#> var destinations: [<#MapsLocation#>] var preferences: Set<<#MapsNavigationPreferencesEnum#>> func perform() async throws -> some ReturnsValue<<#MapsNavigationSessionEntity#>?> { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 27.0+

updateNavigationWaypoints

Swift declaration
var updateNavigationWaypoints: some AppSchemaIntent { get }

An intent schema that updates the list of waypoints for a navigation session. 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 `maps` domain and one of your app's actions matches the `updateNavigationWaypoints` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.updateNavigationWaypoints)` 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 `updateNavigationWaypoints` schema: ```swift @AppIntent(schema: .maps.updateNavigationWaypoints) struct MapsUpdateNavigationWaypointsIntent { var navigation: <#MapsNavigationSessionEntity#> var waypoints: [<#MapsLocation#>] func perform() async throws -> some ReturnsValue<<#MapsNavigationSessionEntity#>> { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 27.0+

shareETA

Swift declaration
var shareETA: some AppSchemaIntent { get }

An intent schema that shares ETA to a contact while navigating. 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 `maps` domain and one of your app's actions matches the `shareETA` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .maps.shareETA)` 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 `shareETA` schema: ```swift @AppIntent(schema: .maps.shareETA) struct MapsShareETAIntent { var person: IntentPerson func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Siri - 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 →