Share via


SipSession.AnswerCall(String, Int32) Method

Definition

Answers an incoming call with the specified session description.

[Android.Runtime.Register("answerCall", "(Ljava/lang/String;I)V", "")]
public void AnswerCall (string? sessionDescription, int timeout);
[<Android.Runtime.Register("answerCall", "(Ljava/lang/String;I)V", "")>]
member this.AnswerCall : string * int -> unit

Parameters

sessionDescription
String

the session description to answer this call

timeout
Int32

the session will be timed out if the call is not established within timeout seconds. Default value (defined by SIP protocol) is used if timeout is zero or negative.

Attributes

Remarks

Answers an incoming call with the specified session description. The method is only valid to call when the session state is in State#INCOMING_CALL.

Java documentation for android.net.sip.SipSession.answerCall(java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to