Langue

ActivityManager.GetRunningServiceControlPanel(ComponentName) Méthode

Définition

Retourne un PendingIntent que vous pouvez commencer à afficher un panneau de configuration pour le service en cours d’exécution donné.

[Android.Runtime.Register("getRunningServiceControlPanel", "(Landroid/content/ComponentName;)Landroid/app/PendingIntent;", "GetGetRunningServiceControlPanel_Landroid_content_ComponentName_Handler")]
public virtual Android.App.PendingIntent? GetRunningServiceControlPanel(Android.Content.ComponentName? service);
[<Android.Runtime.Register("getRunningServiceControlPanel", "(Landroid/content/ComponentName;)Landroid/app/PendingIntent;", "GetGetRunningServiceControlPanel_Landroid_content_ComponentName_Handler")>]
abstract member GetRunningServiceControlPanel : Android.Content.ComponentName -> Android.App.PendingIntent
override this.GetRunningServiceControlPanel : Android.Content.ComponentName -> Android.App.PendingIntent

Paramètres

service
ComponentName

NomDuComposant

Retours

Attributs

Remarques

Retourne un PendingIntent que vous pouvez commencer à afficher un panneau de configuration pour le service en cours d’exécution donné. Si le service n’a pas de panneau de configuration, la valeur Null est retournée.

Levées : SecurityException

Référence Android pour android.app.ActivityManager.getRunningServiceControlPanel.

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 à