One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppIntentError.PermissionRequired

enum · iOS 18.0+ · SDK 27.1

enum PermissionRequired

Errors that indicate the app doesn't have the required permission to perform an action. Use these permission errors to inform people that the app requires specific permissions and that they need to grant permission to successfully complete the action.

Members (6)

get · iOS 18.0+

localNetwork

TypeScript
static get localNetwork(): AppIntentError
Swift declaration
static let localNetwork: AppIntentError

The person needs to allow the app to access the local network.

get · iOS 18.0+

siri

TypeScript
static get siri(): AppIntentError
Swift declaration
static let siri: AppIntentError

The person needs to allow the app to access Siri.

get · iOS 18.0+

photos

TypeScript
static get photos(): AppIntentError
Swift declaration
static let photos: AppIntentError

The person needs to allow the app to access to the photo library.

get · iOS 18.0+

contacts

TypeScript
static get contacts(): AppIntentError
Swift declaration
static let contacts: AppIntentError

The person needs to allow the app to access contacts.

static · iOS 18.0+

location

TypeScript
static location(precise?: boolean): AppIntentError
Swift declaration
static func location(precise: Bool = false) -> AppIntentError

The person needs to allow the app to access their location. The error message differs based on whether a person needs to give the app access to their precise or approximate location.

get · iOS 18.0+

bluetooth

TypeScript
static get bluetooth(): AppIntentError
Swift declaration
static let bluetooth: AppIntentError

The person needs to allow the app to access to Bluetooth.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →