共用方式為


Connection.OnUsingAlternativeUi(Boolean) Method

Definition

Inform this Connection when it will or will not be tracked by an InCallService which can provide an InCall UI.

[Android.Runtime.Register("onUsingAlternativeUi", "(Z)V", "GetOnUsingAlternativeUi_ZHandler", ApiSince=31)]
public virtual void OnUsingAlternativeUi (bool isUsingAlternativeUi);
[<Android.Runtime.Register("onUsingAlternativeUi", "(Z)V", "GetOnUsingAlternativeUi_ZHandler", ApiSince=31)>]
abstract member OnUsingAlternativeUi : bool -> unit
override this.OnUsingAlternativeUi : bool -> unit

Parameters

isUsingAlternativeUi
Boolean

Indicates whether an InCallService that can provide InCall UI is currently tracking the self-managed call.

Attributes

Remarks

Inform this Connection when it will or will not be tracked by an InCallService which can provide an InCall UI. This is primarily intended for use by Connections reported by self-managed ConnectionService which typically maintain their own UI.

Java documentation for android.telecom.Connection.onUsingAlternativeUi(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