Instance Method

acceptCallID(_:)

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

Declaration

func acceptCallID(_ callID: Int) throws

Parameters

callID

An integer that identifies the connection request.

error

If an error occurs, upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.

Return Value

true if the connection was established; otherwise false.

Discussion

When a remote user requests a voice chat, the voice chat service calls the client’s voiceChatService(_:didReceiveInvitationFromParticipantID:callID:) method. The client calls this method to accept the request or denyCallID(_:) to reject it.

See Also

Methods Called by the Client

func denyCallID(Int)

Rejects a request to establish a voice chat.

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

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

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

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

Deprecated