共用方式為


InCallService.OnBringToForeground(Boolean) Method

Definition

Called to bring the in-call screen to the foreground.

[Android.Runtime.Register("onBringToForeground", "(Z)V", "GetOnBringToForeground_ZHandler", ApiSince=23)]
public virtual void OnBringToForeground (bool showDialpad);
[<Android.Runtime.Register("onBringToForeground", "(Z)V", "GetOnBringToForeground_ZHandler", ApiSince=23)>]
abstract member OnBringToForeground : bool -> unit
override this.OnBringToForeground : bool -> unit

Parameters

showDialpad
Boolean

If true, put up the dialpad when the screen is shown.

Attributes

Remarks

Called to bring the in-call screen to the foreground. The in-call experience should respond immediately by coming to the foreground to inform the user of the state of ongoing Calls.

Java documentation for android.telecom.InCallService.onBringToForeground(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