共用方式為


GKSessionDelegate.PeerChangedState 方法

定義

[Foundation.Export("session:peer:didChangeState:")]
public virtual void PeerChangedState (GameKit.GKSession session, string peerID, GameKit.GKPeerConnectionState state);
abstract member PeerChangedState : GameKit.GKSession * string * GameKit.GKPeerConnectionState -> unit
override this.PeerChangedState : GameKit.GKSession * string * GameKit.GKPeerConnectionState -> unit

參數

session
GKSession
peerID
String
屬性

適用於