GestureLibraries.FromRawResource(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 read-only gesture library backed by a raw resource.
[Android.Runtime.Register("fromRawResource", "(Landroid/content/Context;I)Landroid/gesture/GestureLibrary;", "")]
public static Android.Gestures.GestureLibrary? FromRawResource(Android.Content.Context? context, int resourceId);
[<Android.Runtime.Register("fromRawResource", "(Landroid/content/Context;I)Landroid/gesture/GestureLibrary;", "")>]
static member FromRawResource : Android.Content.Context * int -> Android.Gestures.GestureLibrary
Parameters
- context
- Context
The context whose resources contain the gesture data.
- resourceId
- Int32
The resource identifier of the raw gesture data.
Returns
A read-only resource-backed library. Call Load() to read the resource. Saving this library returns false.
- 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.