共用方式為


GKGameSession.SetConnectionState 方法

定義

[Foundation.Export("setConnectionState:completionHandler:")]
public virtual void SetConnectionState (GameKit.GKConnectionState state, Action<Foundation.NSError> completionHandler);
abstract member SetConnectionState : GameKit.GKConnectionState * Action<Foundation.NSError> -> unit
override this.SetConnectionState : GameKit.GKConnectionState * Action<Foundation.NSError> -> unit

參數

completionHandler
Action<NSError>
屬性

適用於