Freigeben über


LauncherApps.StartAppDetailsActivity Method

Definition

Starts the settings activity to show the application details for a package in the specified profile.

[Android.Runtime.Register("startAppDetailsActivity", "(Landroid/content/ComponentName;Landroid/os/UserHandle;Landroid/graphics/Rect;Landroid/os/Bundle;)V", "GetStartAppDetailsActivity_Landroid_content_ComponentName_Landroid_os_UserHandle_Landroid_graphics_Rect_Landroid_os_Bundle_Handler")]
public virtual void StartAppDetailsActivity (Android.Content.ComponentName? component, Android.OS.UserHandle? user, Android.Graphics.Rect? sourceBounds, Android.OS.Bundle? opts);
[<Android.Runtime.Register("startAppDetailsActivity", "(Landroid/content/ComponentName;Landroid/os/UserHandle;Landroid/graphics/Rect;Landroid/os/Bundle;)V", "GetStartAppDetailsActivity_Landroid_content_ComponentName_Landroid_os_UserHandle_Landroid_graphics_Rect_Landroid_os_Bundle_Handler")>]
abstract member StartAppDetailsActivity : Android.Content.ComponentName * Android.OS.UserHandle * Android.Graphics.Rect * Android.OS.Bundle -> unit
override this.StartAppDetailsActivity : Android.Content.ComponentName * Android.OS.UserHandle * Android.Graphics.Rect * Android.OS.Bundle -> unit

Parameters

component
ComponentName

The ComponentName of the package to launch settings for.

user
UserHandle

The UserHandle of the profile

sourceBounds
Rect

The Rect containing the source bounds of the clicked icon

opts
Bundle

Options to pass to startActivity

Attributes

Remarks

Starts the settings activity to show the application details for a package in the specified profile.

Java documentation for android.content.pm.LauncherApps.startAppDetailsActivity(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle).

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