Langue

TelecomManager.ShowInCallScreen(Boolean) Méthode

Définition

Affiche l’écran d’appel au premier plan s’il existe un appel en cours.

[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

Paramètres

showDialpad
Boolean

Affiche le pavé de numérotation dans l’appel dans le cadre de l’affichage de l’écran d’appel.

Attributs

Remarques

Affiche l’écran d’appel au premier plan s’il existe un appel en cours. S’il n’existe actuellement aucun appel en cours, cette méthode ne fait rien.

Exige que l’appelant de méthode soit défini en tant qu’application de numéroteur système ou dispose de l’autorisation android.Manifest.permission#READ_PHONE_STATE .

Java documentation pour android.telecom.TelecomManager.showInCallScreen(boolean).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à