Contents

AccessoryFeatureAuthorizationStatus

A status that describes whether the system authorizes a feature for an accessory.

Declaration

enum AccessoryFeatureAuthorizationStatus

Overview

The system returns AccessoryFeatureAuthorizationStatus.unknown until your app enrolls the feature for the accessory. Subsequent calls return the recorded status.

Read the status with AccessoryWorker/authorizationStatus(for:) or AccessoryGPUWorker/authorizationStatus(for:) and enroll the feature with a matching requestAuthorization(for:) method.

Topics

Determining the authorization status