Share via


ShortcutInfo.CreateFromGenericDocument(Context, GenericDocument) Method

Definition

[Android.Runtime.Register("createFromGenericDocument", "(Landroid/content/Context;Landroid/app/appsearch/GenericDocument;)Landroid/content/pm/ShortcutInfo;", "", ApiSince=33)]
public static Android.Content.PM.ShortcutInfo CreateFromGenericDocument (Android.Content.Context context, Android.App.AppSearch.GenericDocument document);
[<Android.Runtime.Register("createFromGenericDocument", "(Landroid/content/Context;Landroid/app/appsearch/GenericDocument;)Landroid/content/pm/ShortcutInfo;", "", ApiSince=33)>]
static member CreateFromGenericDocument : Android.Content.Context * Android.App.AppSearch.GenericDocument -> Android.Content.PM.ShortcutInfo

Parameters

context
Context
document
GenericDocument

Returns

Attributes

Applies to