One Logo Pool Ball
ManagedAppDistribution · IOS API REFERENCE

ManagedAppDistributionError

enum · iOS 17.2+ · SDK 27.1

enum ManagedAppDistributionError

Codes that identify errors in Managed App Distribution.

Members (9)

get · iOS 17.2+

helpAnchor

TypeScript
getHelpAnchor($self: ManagedAppDistributionError): (string) | null
Swift declaration
var helpAnchor: String? { get }

A link to help documentation. This property is for macOS.

get · iOS 17.2+

description

TypeScript
getDescription($self: ManagedAppDistributionError): string
Swift declaration
var description: String { get }

A localized description of the error.

get · iOS 17.2+

failureReason

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

A detailed description of the error. This appears in the body of an alert.

method · iOS 17.2+

attemptRecovery

TypeScript
attemptRecoveryOptionIndexResultHandler($self: ManagedAppDistributionError, recoveryOptionIndex: number, handler: ((arg0: boolean) => void)): void
Swift declaration
func attemptRecovery(optionIndex recoveryOptionIndex: Int, resultHandler handler: @escaping (Bool) -> Void)

Attempt to recover from this error when someone selects the option at the given index. - Parameters: - optionIndex: An index into ``recoveryOptions``. - resultHandler: A closure that the method calls with the recovery status. - Returns: A recovery handler with the recovery status.

method · iOS 17.2+

attemptRecovery

TypeScript
attemptRecoveryOptionIndex($self: ManagedAppDistributionError, recoveryOptionIndex: number): boolean
Swift declaration
func attemptRecovery(optionIndex recoveryOptionIndex: Int) -> Bool

Attempt to recover from this error when someone selects the option at the given index. - Parameters: - optionIndex: An index into ``recoveryOptions``. - Returns: `true` to indicate successful recovery; otherwise `false`.

get · iOS 17.2+

recoveryOptions

TypeScript
getRecoveryOptions($self: ManagedAppDistributionError): Array<string>
Swift declaration
var recoveryOptions: [String] { get }

A set of possible recovery options to present.

get · iOS 17.2+

errorDescription

TypeScript
getErrorDescription($self: ManagedAppDistributionError): (string) | null
Swift declaration
var errorDescription: String? { get }

A brief description of the error. This appears in the title of an alert.

get · iOS 17.2+

recoverySuggestion

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

A suggestion for recovering from the error.

get · iOS 17.2+

localizedStringResource

TypeScript
getLocalizedStringResource($self: ManagedAppDistributionError): _Foundation_LocalizedStringResource
Swift declaration
var localizedStringResource: LocalizedStringResource { get }

A set of localized error strings.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedAppDistribution types →