GestureLibraries.FromFile 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.
Overloads
| Name | Description |
|---|---|
| FromFile(File) |
Creates a gesture library backed by the specified file. |
| FromFile(String) |
Creates a gesture library backed by the specified file path. |
FromFile(File)
Creates a gesture library backed by the specified file.
[Android.Runtime.Register("fromFile", "(Ljava/io/File;)Landroid/gesture/GestureLibrary;", "")]
public static Android.Gestures.GestureLibrary? FromFile(Java.IO.File? path);
[<Android.Runtime.Register("fromFile", "(Ljava/io/File;)Landroid/gesture/GestureLibrary;", "")>]
static member FromFile : Java.IO.File -> Android.Gestures.GestureLibrary
Parameters
- path
- File
The file that stores the gesture library.
Returns
A file-backed gesture library. 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
FromFile(String)
Creates a gesture library backed by the specified file path.
[Android.Runtime.Register("fromFile", "(Ljava/lang/String;)Landroid/gesture/GestureLibrary;", "")]
public static Android.Gestures.GestureLibrary? FromFile(string? path);
[<Android.Runtime.Register("fromFile", "(Ljava/lang/String;)Landroid/gesture/GestureLibrary;", "")>]
static member FromFile : string -> Android.Gestures.GestureLibrary
Parameters
- path
- String
The path of the file that stores the gesture library.
Returns
A file-backed gesture library. 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.