voiceChatService(_:didStartWithParticipantID:)
Received by the client when a voice chat with another participant is established.
Declaration
optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStartWithParticipantID participantID: String)Parameters
- voiceChatService:
The voice chat service that initiated the connection.
- participantID:
A string that uniquely identifies the other user.
Discussion
Your client can use this method to update the user interface to show that a connection has been established.