One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMZone

class · iOS 8.0+ · SDK 27.1

class HMZone

Members (6)

method · iOS 8.0+

addRoom

TypeScript
addRoom(room: HMRoom, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func addRoom(_ room: HMRoom) async throws
method · iOS 8.0+

removeRoom

TypeScript
removeRoom(room: HMRoom, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func removeRoom(_ room: HMRoom) async throws
method · iOS 8.0+

updateName

TypeScript
updateName(name: string, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func updateName(_ name: String) async throws
get · iOS 8.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get }
get · iOS 8.0+

rooms

TypeScript
get rooms(): Array<HMRoom>
Swift declaration
var rooms: [HMRoom] { get }
get · iOS 9.0+

uniqueIdentifier

TypeScript
get uniqueIdentifier(): string
Swift declaration
var uniqueIdentifier: UUID { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

HMZone.init()

inherited init: clang: 'init' is unavailable

All HomeKit types →