One Logo Pool Ball
ActivityKit · IOS API REFERENCE

ActivityAuthorizationError

enum · iOS 16.1+ · SDK 27.1

enum ActivityAuthorizationError

An error that indicates why the request to start a Live Activity failed.

Members (4)

get · iOS 16.1+

errorDomain

TypeScript
get errorDomain(): string
Swift declaration
static var errorDomain: String { get }

The domain for errors that can happen when starting a Live Activity.

get · iOS 16.1+

failureReason

TypeScript
getFailureReason($self: ActivityAuthorizationError): (string) | null
Swift declaration
var failureReason: String? { get }

A string that describes the error that occurred.

get · iOS 16.1+

recoverySuggestion

TypeScript
getRecoverySuggestion($self: ActivityAuthorizationError): (string) | null
Swift declaration
var recoverySuggestion: String? { get }

A localized message that describes how to recover from the error.

get · iOS 16.1+

errorCode

TypeScript
getErrorCode($self: ActivityAuthorizationError): number
Swift declaration
var errorCode: Int { get }

An integer value that represents the error code.

Skipped declarations

No declarations were skipped in this snapshot.

All ActivityKit types →