Instance Method

initWithURL:

Creates an accessory setup payload.

Declaration

- (instancetype)initWithURL:(NSURL *)setupPayloadURL;

Parameters

setupPayloadURL

The payload used to securely authenticate the accessory. This is the same payload you would receive by scanning the accessory’s QR code.

Discussion

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

See Also

Creating a 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.