Partager via


TelecomManager.ShowInCallScreen(Boolean) Method

Definition

Brings the in-call screen to the foreground if there is an ongoing call.

[Android.Runtime.Register("showInCallScreen", "(Z)V", "GetShowInCallScreen_ZHandler")]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual void ShowInCallScreen (bool showDialpad);
[<Android.Runtime.Register("showInCallScreen", "(Z)V", "GetShowInCallScreen_ZHandler")>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member ShowInCallScreen : bool -> unit
override this.ShowInCallScreen : bool -> unit

Parameters

showDialpad
Boolean

Brings up the in-call dialpad as part of showing the in-call screen.

Attributes

Remarks

Brings the in-call screen to the foreground if there is an ongoing call. If there is currently no ongoing call, then this method does nothing.

Requires that the method-caller be set as the system dialer app or have the android.Manifest.permission#READ_PHONE_STATE permission.

Java documentation for android.telecom.TelecomManager.showInCallScreen(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