Udostępnij za pośrednictwem


InCallService.OnCallAdded(Call) Method

Definition

Called when a Call has been added to this in-call session.

[Android.Runtime.Register("onCallAdded", "(Landroid/telecom/Call;)V", "GetOnCallAdded_Landroid_telecom_Call_Handler", ApiSince=23)]
public virtual void OnCallAdded (Android.Telecom.Call? call);
[<Android.Runtime.Register("onCallAdded", "(Landroid/telecom/Call;)V", "GetOnCallAdded_Landroid_telecom_Call_Handler", ApiSince=23)>]
abstract member OnCallAdded : Android.Telecom.Call -> unit
override this.OnCallAdded : Android.Telecom.Call -> unit

Parameters

call
Call

A newly added Call.

Attributes

Remarks

Called when a Call has been added to this in-call session. The in-call user experience should add necessary state listeners to the specified Call and immediately start to show the user information about the existence and nature of this Call. Subsequent invocations of #getCalls() will include this Call.

Java documentation for android.telecom.InCallService.onCallAdded(android.telecom.Call).

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