localNetwork
TypeScriptstatic get localNetwork(): AppIntentErrorSwift declarationstatic let localNetwork: AppIntentErrorThe person needs to allow the app to access the local network.
enum · iOS 18.0+ · SDK 27.1
enum PermissionRequiredErrors 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.
static get localNetwork(): AppIntentErrorSwift declarationstatic let localNetwork: AppIntentErrorThe person needs to allow the app to access the local network.
static get siri(): AppIntentErrorSwift declarationstatic let siri: AppIntentErrorThe person needs to allow the app to access Siri.
static get photos(): AppIntentErrorSwift declarationstatic let photos: AppIntentErrorThe person needs to allow the app to access to the photo library.
static get contacts(): AppIntentErrorSwift declarationstatic let contacts: AppIntentErrorThe person needs to allow the app to access contacts.
static location(precise?: boolean): AppIntentErrorSwift declarationstatic func location(precise: Bool = false) -> AppIntentErrorThe 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.
static get bluetooth(): AppIntentErrorSwift declarationstatic let bluetooth: AppIntentErrorThe person needs to allow the app to access to Bluetooth.
No declarations were skipped in this snapshot.