WCSessionDelegate.ActivationDidComplete 方法

定义

会话激活完成时调用的方法。

[Foundation.Export("session:activationDidCompleteWithState:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ActivationDidComplete (WatchConnectivity.WCSession session, WatchConnectivity.WCSessionActivationState activationState, Foundation.NSError error);
abstract member ActivationDidComplete : WatchConnectivity.WCSession * WatchConnectivity.WCSessionActivationState * Foundation.NSError -> unit
override this.ActivationDidComplete : WatchConnectivity.WCSession * WatchConnectivity.WCSessionActivationState * Foundation.NSError -> unit

参数

session
WCSession
activationState
WCSessionActivationState
error
NSError

内容待定。

此参数可以为 null

属性

适用于