errorDomain
TypeScriptget errorDomain(): stringSwift declarationstatic var errorDomain: String { get }The domain for errors that can happen when starting a Live Activity.
enum · iOS 16.1+ · SDK 27.1
enum ActivityAuthorizationErrorAn error that indicates why the request to start a Live Activity failed.
get errorDomain(): stringSwift declarationstatic var errorDomain: String { get }The domain for errors that can happen when starting a Live Activity.
getFailureReason($self: ActivityAuthorizationError): (string) | nullSwift declarationvar failureReason: String? { get }A string that describes the error that occurred.
getRecoverySuggestion($self: ActivityAuthorizationError): (string) | nullSwift declarationvar recoverySuggestion: String? { get }A localized message that describes how to recover from the error.
getErrorCode($self: ActivityAuthorizationError): numberSwift declarationvar errorCode: Int { get }An integer value that represents the error code.
No declarations were skipped in this snapshot.