Język

GestureLibraries.FromPrivateFile(Context, String) Method

Definition

Creates a gesture library backed by a file in the application's private directory.

[Android.Runtime.Register("fromPrivateFile", "(Landroid/content/Context;Ljava/lang/String;)Landroid/gesture/GestureLibrary;", "")]
public static Android.Gestures.GestureLibrary? FromPrivateFile(Android.Content.Context? context, string? name);
[<Android.Runtime.Register("fromPrivateFile", "(Landroid/content/Context;Ljava/lang/String;)Landroid/gesture/GestureLibrary;", "")>]
static member FromPrivateFile : Android.Content.Context * string -> Android.Gestures.GestureLibrary

Parameters

context
Context

The context used to resolve the application's private file directory.

name
String

The name of the gesture file in that directory.

Returns

A library backed by the named application-private file. Call Load() to read its stored gestures.

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