共用方式為


GKVoiceChat.SetMuteStatus(GKPlayer, Boolean) 方法

定義

設定指定 player 之 的靜音狀態。

[Foundation.Export("setPlayer:muted:")]
[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 SetMuteStatus (GameKit.GKPlayer player, bool isMuted);
abstract member SetMuteStatus : GameKit.GKPlayer * bool -> unit
override this.SetMuteStatus : GameKit.GKPlayer * bool -> unit

參數

player
GKPlayer
isMuted
Boolean
屬性

適用於