Partager via


MockPackageManager.GetLeanbackLaunchIntentForPackage(String) Method

Definition

Return a "good" intent to launch a front-door Leanback activity in a package, for use for example to implement an "open" button when browsing through packages.

[Android.Runtime.Register("getLeanbackLaunchIntentForPackage", "(Ljava/lang/String;)Landroid/content/Intent;", "GetGetLeanbackLaunchIntentForPackage_Ljava_lang_String_Handler")]
public override Android.Content.Intent? GetLeanbackLaunchIntentForPackage (string? packageName);
[<Android.Runtime.Register("getLeanbackLaunchIntentForPackage", "(Ljava/lang/String;)Landroid/content/Intent;", "GetGetLeanbackLaunchIntentForPackage_Ljava_lang_String_Handler")>]
override this.GetLeanbackLaunchIntentForPackage : string -> Android.Content.Intent

Parameters

packageName
String

The name of the package to inspect.

Returns

Attributes

Remarks

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