One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMServiceGroup

class · iOS 8.0+ · SDK 27.1

class HMServiceGroup

Members (6)

method · iOS 8.0+

addService

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

removeService

TypeScript
removeService(service: HMService, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func removeService(_ service: HMService) 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+

services

TypeScript
get services(): Array<HMService>
Swift declaration
var services: [HMService] { 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.

HMServiceGroup.init()

inherited init: clang: 'init' is unavailable

All HomeKit types →