SipManager.MakeAudioCall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MakeAudioCall(SipProfile, SipProfile, SipAudioCall+Listener, Int32) |
Creates a |
MakeAudioCall(String, String, SipAudioCall+Listener, Int32) |
Creates a |
MakeAudioCall(SipProfile, SipProfile, SipAudioCall+Listener, Int32)
Creates a SipAudioCall
to make a call.
[Android.Runtime.Register("makeAudioCall", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipProfile;Landroid/net/sip/SipAudioCall$Listener;I)Landroid/net/sip/SipAudioCall;", "GetMakeAudioCall_Landroid_net_sip_SipProfile_Landroid_net_sip_SipProfile_Landroid_net_sip_SipAudioCall_Listener_IHandler")]
public virtual Android.Net.Sip.SipAudioCall? MakeAudioCall (Android.Net.Sip.SipProfile? localProfile, Android.Net.Sip.SipProfile? peerProfile, Android.Net.Sip.SipAudioCall.Listener? listener, int timeout);
[<Android.Runtime.Register("makeAudioCall", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipProfile;Landroid/net/sip/SipAudioCall$Listener;I)Landroid/net/sip/SipAudioCall;", "GetMakeAudioCall_Landroid_net_sip_SipProfile_Landroid_net_sip_SipProfile_Landroid_net_sip_SipAudioCall_Listener_IHandler")>]
abstract member MakeAudioCall : Android.Net.Sip.SipProfile * Android.Net.Sip.SipProfile * Android.Net.Sip.SipAudioCall.Listener * int -> Android.Net.Sip.SipAudioCall
override this.MakeAudioCall : Android.Net.Sip.SipProfile * Android.Net.Sip.SipProfile * Android.Net.Sip.SipAudioCall.Listener * int -> Android.Net.Sip.SipAudioCall
Parameters
- localProfile
- SipProfile
the SIP profile to make the call from
- peerProfile
- SipProfile
the SIP profile to make the call to
- listener
- SipAudioCall.Listener
to listen to the call events from SipAudioCall
;
can be null
- timeout
- Int32
the timeout value in seconds. Default value (defined by
SIP protocol) is used if timeout
is zero or negative.
Returns
a SipAudioCall
object
- Attributes
Exceptions
if calling the SIP service results in an error or VOIP API is not supported by the device
Remarks
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.
See also
Applies to
MakeAudioCall(String, String, SipAudioCall+Listener, Int32)
Creates a SipAudioCall
to make a call.
[Android.Runtime.Register("makeAudioCall", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/sip/SipAudioCall$Listener;I)Landroid/net/sip/SipAudioCall;", "GetMakeAudioCall_Ljava_lang_String_Ljava_lang_String_Landroid_net_sip_SipAudioCall_Listener_IHandler")]
public virtual Android.Net.Sip.SipAudioCall? MakeAudioCall (string? localProfileUri, string? peerProfileUri, Android.Net.Sip.SipAudioCall.Listener? listener, int timeout);
[<Android.Runtime.Register("makeAudioCall", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/sip/SipAudioCall$Listener;I)Landroid/net/sip/SipAudioCall;", "GetMakeAudioCall_Ljava_lang_String_Ljava_lang_String_Landroid_net_sip_SipAudioCall_Listener_IHandler")>]
abstract member MakeAudioCall : string * string * Android.Net.Sip.SipAudioCall.Listener * int -> Android.Net.Sip.SipAudioCall
override this.MakeAudioCall : string * string * Android.Net.Sip.SipAudioCall.Listener * int -> Android.Net.Sip.SipAudioCall
Parameters
- localProfileUri
- String
URI of the SIP profile to make the call from
- peerProfileUri
- String
URI of the SIP profile to make the call to
- listener
- SipAudioCall.Listener
to listen to the call events from SipAudioCall
;
can be null
- timeout
- Int32
the timeout value in seconds. Default value (defined by
SIP protocol) is used if timeout
is zero or negative.
Returns
a SipAudioCall
object
- Attributes
Exceptions
if calling the SIP service results in an error or VOIP API is not supported by the device
Remarks
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.