共用方式為


GKVoiceChat.SetPlayerVoiceChatStateChangeHandler 方法

定義

設定播放程式語音聊天狀態變更時所執行的處理常式。

[Foundation.Export("setPlayerVoiceChatStateDidChangeHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetPlayerVoiceChatStateChangeHandler (Action<GameKit.GKPlayer,GameKit.GKVoiceChatPlayerState> handler);
abstract member SetPlayerVoiceChatStateChangeHandler : Action<GameKit.GKPlayer, GameKit.GKVoiceChatPlayerState> -> unit
override this.SetPlayerVoiceChatStateChangeHandler : Action<GameKit.GKPlayer, GameKit.GKVoiceChatPlayerState> -> unit

參數

屬性

適用於