Udostępnij za pośrednictwem


SipManager.TakeAudioCall(Intent, SipAudioCall+Listener) Method

Definition

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

Java documentation for android.net.sip.SipManager.takeAudioCall(android.content.Intent, android.net.sip.Listener).

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