Language

LauncherApps.GetPinItemRequest(Intent) Method

Definition

A helper method to extract a PinItemRequest set to the #EXTRA_PIN_ITEM_REQUEST extra.

[Android.Runtime.Register("getPinItemRequest", "(Landroid/content/Intent;)Landroid/content/pm/LauncherApps$PinItemRequest;", "GetGetPinItemRequest_Landroid_content_Intent_Handler", ApiSince=26)]
public virtual Android.Content.PM.LauncherApps.PinItemRequest? GetPinItemRequest(Android.Content.Intent? intent);
[<Android.Runtime.Register("getPinItemRequest", "(Landroid/content/Intent;)Landroid/content/pm/LauncherApps$PinItemRequest;", "GetGetPinItemRequest_Landroid_content_Intent_Handler", ApiSince=26)>]
abstract member GetPinItemRequest : Android.Content.Intent -> Android.Content.PM.LauncherApps.PinItemRequest
override this.GetPinItemRequest : Android.Content.Intent -> Android.Content.PM.LauncherApps.PinItemRequest

Parameters

intent
Intent

The intent whose extras are searched for the pin-item request.

Returns

The pin-item request stored in the intent's request extra, or null when that extra is absent.

Attributes

Remarks

Java documentation for android.content.pm.LauncherApps.getPinItemRequest(android.content.Intent).

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