SessionRequestCompleteHandler¶
-
public interface
SessionRequestCompleteHandler¶ The interface to carrier session.
Methods¶
onCompletion¶
-
void
onCompletion(Session session, int status, String reason, String sdp)¶ The callback function to receive session request complete event.
- Parameters
session – The carrier session instance.
status – The status code of the response. 0 is success, otherwise is error.
reason – The error message if status is error, or nil if session request error happened
sdp – The remote users SDP. Reference: https://tools.ietf.org/html/rfc4566