編輯

共用方式為


WCSessionDelegate_Extensions.DidBecomeInactive Method

Definition

Method that is called when the session becomes inactive.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidBecomeInactive (this WatchConnectivity.IWCSessionDelegate This, WatchConnectivity.WCSession session);
static member DidBecomeInactive : WatchConnectivity.IWCSessionDelegate * WatchConnectivity.WCSession -> unit

Parameters

This
IWCSessionDelegate

The instance on which this extension method operates.

session
WCSession
Attributes

Applies to