One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMRoom

class · iOS 8.0+ · SDK 27.1

class HMRoom

Members (4)

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+

accessories

TypeScript
get accessories(): Array<HMAccessory>
Swift declaration
var accessories: [HMAccessory] { get }
get · iOS 8.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { 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.

HMRoom.init()

inherited init: clang: 'init' is unavailable

All HomeKit types →