init(uuid:name:)
Creates a structure that represents an accessory that was successfully transferred from a temporary home to a person’s home hub.
Declaration
init(uuid: UUID, name: String)Parameters
- uuid:
A string that uniquely identifies an accessory.
- name:
A string with the name of the accessory.
Return Value
An accessory that was successfully transferred to the home hub.