Aracılığıyla paylaş


SipSession.MakeCall(SipProfile, String, Int32) Method

Definition

Initiates a call to the specified profile.

[Android.Runtime.Register("makeCall", "(Landroid/net/sip/SipProfile;Ljava/lang/String;I)V", "")]
public void MakeCall (Android.Net.Sip.SipProfile? callee, string? sessionDescription, int timeout);
[<Android.Runtime.Register("makeCall", "(Landroid/net/sip/SipProfile;Ljava/lang/String;I)V", "")>]
member this.MakeCall : Android.Net.Sip.SipProfile * string * int -> unit

Parameters

callee
SipProfile

the SIP profile to make the call to

sessionDescription
String

the session description of 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

Initiates a call to the specified profile. The session listener is called back upon defined session events. The method is only valid to call when the session state is in State#READY_TO_CALL.

Java documentation for android.net.sip.SipSession.makeCall(android.net.sip.SipProfile, 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