GKVoiceChat.SetPlayerVoiceChatStateChangeHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the handler that is run when a player's voice chat status changes.
[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
Parameters
- handler
- Action<GKPlayer,GKVoiceChatPlayerState>
- Attributes