Intent.ShortcutIconResource.FromContext(Context, Int32) 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.
Creates a new ShortcutIconResource for the specified context and resource identifier.
[Android.Runtime.Register("fromContext", "(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;", "")]
public static Android.Content.Intent.ShortcutIconResource? FromContext (Android.Content.Context? context, int resourceId);
[<Android.Runtime.Register("fromContext", "(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;", "")>]
static member FromContext : Android.Content.Context * int -> Android.Content.Intent.ShortcutIconResource
Parameters
- context
- Context
The context of the application.
- resourceId
- Int32
The resource idenfitier for the icon.
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.