SipManager.TakeAudioCall(Intent, SipAudioCall+Listener) 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.
Creates a SipAudioCall
to take an incoming call.
[Android.Runtime.Register("takeAudioCall", "(Landroid/content/Intent;Landroid/net/sip/SipAudioCall$Listener;)Landroid/net/sip/SipAudioCall;", "GetTakeAudioCall_Landroid_content_Intent_Landroid_net_sip_SipAudioCall_Listener_Handler")]
public virtual Android.Net.Sip.SipAudioCall? TakeAudioCall (Android.Content.Intent? incomingCallIntent, Android.Net.Sip.SipAudioCall.Listener? listener);
[<Android.Runtime.Register("takeAudioCall", "(Landroid/content/Intent;Landroid/net/sip/SipAudioCall$Listener;)Landroid/net/sip/SipAudioCall;", "GetTakeAudioCall_Landroid_content_Intent_Landroid_net_sip_SipAudioCall_Listener_Handler")>]
abstract member TakeAudioCall : Android.Content.Intent * Android.Net.Sip.SipAudioCall.Listener -> Android.Net.Sip.SipAudioCall
override this.TakeAudioCall : Android.Content.Intent * Android.Net.Sip.SipAudioCall.Listener -> Android.Net.Sip.SipAudioCall
Parameters
- incomingCallIntent
- Intent
the incoming call broadcast intent
- listener
- SipAudioCall.Listener
to listen to the call events from SipAudioCall
;
can be null
Returns
a SipAudioCall
object
- Attributes
Exceptions
if calling the SIP service results in an error
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.