編輯

共用方式為


WCSessionActivationState Enum

Definition

Enumerates session states.

[ObjCRuntime.Watch(2, 2)]
public enum WCSessionActivationState
type WCSessionActivationState = 
Inheritance
WCSessionActivationState
Attributes

Fields

Name Value Description
NotActivated 0

Indicates that the session is inactive and the watch and the phone are not connected.

Inactive 1

Indicates that the session is deactivating. Data can be received by the app, but not sent to the phone.

Activated 2

Indicates that the seesion is activated and the watch app and iOS can communicate.

Applies to