Android.Net.Sip.SipAudioCall.MakeCall Method
Initiates an audio call to the specified profile.

Syntax

[Android.Runtime.Register("makeCall", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipSession;I)V", "GetMakeCall_Landroid_net_sip_SipProfile_Landroid_net_sip_SipSession_IHandler")]
public virtual void MakeCall (SipProfile peerProfile, SipSession sipSession, int timeout)

See Also

SipManager.IsVoipSupported(Android.Content.Context)

Parameters

peerProfile
the SIP profile to make the call to
sipSession
the Android.Net.Sip.SipSession for carrying out the call
timeout
the timeout value in seconds. Default value (defined by SIP protocol) is used if timeout is zero or negative.

Exceptions

TypeReason
Android.Net.Sip.SipExceptionif the SIP service fails to create a session for the call or VOIP API is not supported by the device

Remarks

Initiates an audio call to the specified profile. The attempt will be timed out if the call is not established within timeout seconds and NoType:android/net/sip/SipAudioCall$Listener;Href=../../../../reference/android/net/sip/SipAudioCall.Listener.html#onError(android.net.sip.SipAudioCall, int, java.lang.String) will be called.

[Android Documentation]

Requirements

Namespace: Android.Net.Sip
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9