MockPackageManager.GetLeanbackLaunchIntentForPackage(String) 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.
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.