編輯

共用方式為


HMHomeHubState Enum

Definition

Enumerates the possible states of the HomeKit hub.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HMHomeHubState
type HMHomeHubState = 
Inheritance
HMHomeHubState
Attributes

Fields

Name Value Description
NotAvailable 0
Connected 1
Disconnected 2

Applies to