One Logo Pool Ball
GameKit · IOS API REFERENCE

GKVoiceChat

class · iOS 4.1+ · Deprecated in iOS 18.0 · SDK 27.1

class GKVoiceChat

Members (17)

static · iOS 4.1+ · Deprecated in iOS 18.0

isVoIPAllowed

TypeScript
static isVoIPAllowed(): boolean
Swift declaration
class func isVoIPAllowed() -> Bool
init

init

TypeScript
static init(): GKVoiceChat
Swift declaration
init()
method · iOS 5.0+ · Deprecated in iOS 8.0

setMute

TypeScript
setMute(isMuted: boolean, playerID: string): void
Swift declaration
func setMute(_ isMuted: Bool, forPlayer playerID: String)
method · iOS 8.0+ · Deprecated in iOS 18.0

setPlayer

TypeScript
setPlayer(player: GKPlayer, isMuted: boolean): void
Swift declaration
func setPlayer(_ player: GKPlayer, muted isMuted: Bool)
method · iOS 4.1+ · Deprecated in iOS 18.0

start

TypeScript
start(): void
Swift declaration
func start()
method · iOS 4.1+ · Deprecated in iOS 18.0

stop

TypeScript
stop(): void
Swift declaration
func stop()
get · iOS 4.1+ · Deprecated in iOS 18.0

isActive

TypeScript
get isActive(): boolean
Swift declaration
var isActive: Bool { get set }
set · iOS 4.1+ · Deprecated in iOS 18.0

isActive

TypeScript
set isActive(value: boolean)
Swift declaration
var isActive: Bool { get set }
get · iOS 4.1+ · Deprecated in iOS 18.0

name

TypeScript
get name(): string
Swift declaration
var name: String { get }
get · iOS 5.0+ · Deprecated in iOS 8.0

playerIDs

TypeScript
get playerIDs(): (Array<string>) | null
Swift declaration
var playerIDs: [String]? { get }
get · iOS 4.1+ · Deprecated in iOS 8.0

playerStateUpdateHandler

TypeScript
get playerStateUpdateHandler(): ((arg0: string, arg1: GKVoiceChat_PlayerState) => Promise<void>)
Swift declaration
var playerStateUpdateHandler: (String, GKVoiceChat.PlayerState) -> Void { get set }
set · iOS 4.1+ · Deprecated in iOS 8.0

playerStateUpdateHandler

TypeScript
set playerStateUpdateHandler(value: ((arg0: string, arg1: GKVoiceChat_PlayerState) => void))
Swift declaration
var playerStateUpdateHandler: (String, GKVoiceChat.PlayerState) -> Void { get set }
get · iOS 8.0+ · Deprecated in iOS 18.0

playerVoiceChatStateDidChangeHandler

TypeScript
get playerVoiceChatStateDidChangeHandler(): ((arg0: GKPlayer, arg1: GKVoiceChat_PlayerState) => Promise<void>)
Swift declaration
var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChat.PlayerState) -> Void { get set }
set · iOS 8.0+ · Deprecated in iOS 18.0

playerVoiceChatStateDidChangeHandler

TypeScript
set playerVoiceChatStateDidChangeHandler(value: ((arg0: GKPlayer, arg1: GKVoiceChat_PlayerState) => void))
Swift declaration
var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChat.PlayerState) -> Void { get set }
get · iOS 8.0+ · Deprecated in iOS 18.0

players

TypeScript
get players(): Array<GKPlayer>
Swift declaration
var players: [GKPlayer] { get }
get · iOS 4.1+ · Deprecated in iOS 18.0

volume

TypeScript
get volume(): number
Swift declaration
var volume: Float { get set }
set · iOS 4.1+ · Deprecated in iOS 18.0

volume

TypeScript
set volume(value: number)
Swift declaration
var volume: Float { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All GameKit types →