WCSessionDelegate.ActivationDidComplete 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
会话激活完成时调用的方法。
[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
- 属性