共用方式為


MCSessionDelegate.DidChangeState(MCSession, MCPeerID, MCSessionState) 方法

定義

表示 session 已轉換至新的 state

[Foundation.Export("session:peer:didChangeState:")]
public abstract void DidChangeState (MultipeerConnectivity.MCSession session, MultipeerConnectivity.MCPeerID peerID, MultipeerConnectivity.MCSessionState state);
abstract member DidChangeState : MultipeerConnectivity.MCSession * MultipeerConnectivity.MCPeerID * MultipeerConnectivity.MCSessionState -> unit

參數

session
MCSession
peerID
MCPeerID

實作

屬性

適用於