Platforms to show: All Mac Windows Linux Cross-Platform
GKVoiceChatMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
see also:
https://developer.apple.com/library/mac/#documentation/GameKit/Reference/GKVoiceChat_Ref/Reference/Reference.html
Available in OS X v10.8 and later.
- 3 properties
- 7 methods
- method Constructor
- method enablePlayerStateUpdate(tag as Variant = nil)
- method name as string
- method playerIDs as string()
- method setMute(mute as boolean, playerID as string)
- method start
- method stop
- 2 shared methods
- shared method Available as boolean
- shared method isVoIPAllowed as boolean
- 5 constants
Constants
Constant | Value | Description |
---|---|---|
GKVoiceChatPlayerConnected | 0 |
One of the states returned to your game about other players in a voice chat.
A new player connected to the chat. |
GKVoiceChatPlayerConnecting | 4 |
One of the states returned to your game about other players in a voice chat.
A new player is connecting to the chat. |
GKVoiceChatPlayerDisconnected | 1 |
One of the states returned to your game about other players in a voice chat.
A player left the chat. |
GKVoiceChatPlayerSilent | 3 |
One of the states returned to your game about other players in a voice chat.
A player stopped speaking. |
GKVoiceChatPlayerSpeaking | 2 |
One of the states returned to your game about other players in a voice chat.
A player began speaking. |
This class has no sub classes.
Some methods using this class:
- GKMatchMBS.voiceChatWithName(name as string) as GKVoiceChatMBS
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
GKTurnBasedParticipantMBS - GlobalExceptionHandlerMBS