Język

GestureLibraries.FromRawResource(Context, Int32) Method

Definition

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.

Applies to