Edit

Share via


GKVoiceChat.SetMute Method

Definition

Overloads

SetMute(Boolean, GKPlayer)
Obsolete.

Sets the mute status of the specified player.

SetMute(Boolean, String)

SetMute(Boolean, GKPlayer)

Caution

Use 'SetMute (bool, string)' method.

Sets the mute status of the specified player.

[System.Obsolete("Use 'SetMute (bool, string)' method.")]
public virtual void SetMute (bool isMuted, GameKit.GKPlayer player);
abstract member SetMute : bool * GameKit.GKPlayer -> unit
override this.SetMute : bool * GameKit.GKPlayer -> unit

Parameters

isMuted
Boolean
player
GKPlayer
Attributes

Applies to

SetMute(Boolean, String)

[Foundation.Export("setMute:forPlayer:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetMuteStatus' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetMuteStatus' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetMute (bool isMuted, string playerID);
abstract member SetMute : bool * string -> unit
override this.SetMute : bool * string -> unit

Parameters

isMuted
Boolean
playerID
String
Attributes

Applies to