init
TypeScriptstatic init(): HMServiceSwift declarationinit()class · iOS 8.0+ · SDK 27.1
class HMServicestatic init(): HMServiceSwift declarationinit()updateAssociatedServiceType(serviceType: (string) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc updateAssociatedServiceType(_ serviceType: String?) async throwsupdateName(name: string, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc updateName(_ name: String) async throwsget accessory(): (HMAccessory) | nullSwift declarationweak var accessory: HMAccessory? { get }get associatedServiceType(): (string) | nullSwift declarationvar associatedServiceType: String? { get }get characteristics(): Array<HMCharacteristic>Swift declarationvar characteristics: [HMCharacteristic] { get }get linkedServices(): (Array<HMService>) | nullSwift declarationvar linkedServices: [HMService]? { get }get localizedDescription(): stringSwift declarationvar localizedDescription: String { get }get name(): stringSwift declarationvar name: String { get }get isPrimaryService(): booleanSwift declarationvar isPrimaryService: Bool { get }get serviceType(): stringSwift declarationvar serviceType: String { get }get uniqueIdentifier(): stringSwift declarationvar uniqueIdentifier: UUID { get }get isUserInteractive(): booleanSwift declarationvar isUserInteractive: Bool { get }get matterEndpointID(): (number) | nullSwift declarationvar matterEndpointID: UInt16? { get }No declarations were skipped in this snapshot.