Class

HMAccessorySetupPayload

A payload for authenticating a HomeKit accessory.

Declaration

@interface HMAccessorySetupPayload : NSObject

Overview

The setup payload provides a URL to authenticate an accessory. Typically, the URL comes from scanning a QR code on the accessory. Use a setup payload to authenticate devices that are already deployed, for which scanning a QR code would be difficult, or if you need to provide an optional ownership token that you negotiate with the accessory outside of HomeKit.

For details about the payload’s content, please join the MFi Program.

Topics

Creating a Payload

- initWithURL:

Creates an accessory setup payload.

- initWithURL:ownershipToken:

Creates an accessory setup payload instance that includes an ownership token.

HMAccessoryOwnershipToken

Authentication data that your app provides when adding an accessory to a home.

Relationships

Inherits From