編輯

共用方式為


WCSessionDelegate.DidDeactivate(WCSession) Method

Definition

Method that is called after the session deactivates.

[Foundation.Export("sessionDidDeactivate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidDeactivate (WatchConnectivity.WCSession session);
abstract member DidDeactivate : WatchConnectivity.WCSession -> unit
override this.DidDeactivate : WatchConnectivity.WCSession -> unit

Parameters

session
WCSession
Attributes

Applies to