GestureLibraries.FromPrivateFile(Context, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建由应用程序专用目录中的文件支持的手势库。
[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
该目录中手势文件的名称。
返回
由命名应用程序专用文件支持的库。 调用 Load() 以读取其存储的手势。
- 特性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。