語言

GestureLibraries.FromPrivateFile(Context, String) 方法

定義

建立一個手勢函式庫,並由應用程式私有目錄中的檔案作為後盾。

[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

參數

context
Context

用來解析應用程式私有檔案目錄的上下文。

name
String

那個目錄裡手勢檔案的名稱。

傳回

一個由命名的 application-private 檔案支援的函式庫。 召喚 Load() 來讀取它儲存的手勢。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於