Instance Method

receivedData(_:fromParticipantID:)

Called by the client to deliver new data received from a remote participant.

Declaration

func receivedData(_ arbitraryData: Data!, fromParticipantID participantID: String!)

Parameters

arbitraryData

The data received from a participant.

participantID

A string that uniquely identifies the participant who sent the data.

Discussion

The voice chat service uses a network connection provided by the client to exchange information between the participants. When the client receives information intended for the voice chat service, it should call this method to transfer it.

See Also

Methods Called by the Client

func acceptCallID(Int)

Accepts a request from a remote user to establish a voice chat.

Deprecated
func denyCallID(Int)

Rejects a request to establish a voice chat.

Deprecated
func receivedRealTime(Data!, fromParticipantID: String!)

Called by the client to deliver voice data received from a remote participant..

Deprecated