Udostępnij za pośrednictwem


InCallService.OnCanAddCallChanged(Boolean) Method

Definition

Called when the ability to add more calls changes.

[Android.Runtime.Register("onCanAddCallChanged", "(Z)V", "GetOnCanAddCallChanged_ZHandler", ApiSince=23)]
public virtual void OnCanAddCallChanged (bool canAddCall);
[<Android.Runtime.Register("onCanAddCallChanged", "(Z)V", "GetOnCanAddCallChanged_ZHandler", ApiSince=23)>]
abstract member OnCanAddCallChanged : bool -> unit
override this.OnCanAddCallChanged : bool -> unit

Parameters

canAddCall
Boolean

Indicates whether an additional call can be added.

Attributes

Remarks

Called when the ability to add more calls changes. If the phone cannot support more calls then canAddCall is set to false. If it can, then it is set to true. This can be used to control the visibility of UI to add more calls.

Java documentation for android.telecom.InCallService.onCanAddCallChanged(boolean).

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