ActivityManager.GetRunningServiceControlPanel(ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a PendingIntent you can start to show a control panel for the given running service.
[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
Parameters
- service
- ComponentName
Returns
- Attributes
Exceptions
Remarks
Returns a PendingIntent you can start to show a control panel for the given running service. If the service does not have a control panel, null is returned.
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.