addHome
TypeScriptaddHome(homeName: string, completion: ((arg0: (HMHome) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc addHome(named homeName: String) async throws -> HMHomeclass · iOS 8.0+ · SDK 27.1
class HMHomeManageraddHome(homeName: string, completion: ((arg0: (HMHome) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc addHome(named homeName: String) async throws -> HMHomefindVendorAccessory(hapPublicKey: ArrayBuffer, completion: ((arg0: (HMAccessory) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc findVendorAccessory(hapPublicKey: Data) async throws -> HMAccessory?static init(): HMHomeManagerSwift declarationinit()removeHome(home: HMHome, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc removeHome(_ home: HMHome) async throwsupdatePrimaryHome(home: HMHome, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc updatePrimaryHome(_ home: HMHome) async throwsget authorizationStatus(): HMHomeManagerAuthorizationStatusSwift declarationvar authorizationStatus: HMHomeManagerAuthorizationStatus { get }get delegate(): (SDKHandle) | nullSwift declarationweak var delegate: (any HMHomeManagerDelegate)? { get set }set delegate(value: (Implements<HMHomeManagerDelegate> | SDKHandle) | null)Swift declarationweak var delegate: (any HMHomeManagerDelegate)? { get set }get homes(): Array<HMHome>Swift declarationvar homes: [HMHome] { get }get primaryHome(): (HMHome) | nullSwift declarationvar primaryHome: HMHome? { get }No declarations were skipped in this snapshot.