BaseInputConnection.TakeSnapshot 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用从中提取BaseInputConnection
的信息构造TextSnapshot
的默认实现。
[Android.Runtime.Register("takeSnapshot", "()Landroid/view/inputmethod/TextSnapshot;", "GetTakeSnapshotHandler", ApiSince=33)]
public virtual Android.Views.InputMethods.TextSnapshot? TakeSnapshot ();
[<Android.Runtime.Register("takeSnapshot", "()Landroid/view/inputmethod/TextSnapshot;", "GetTakeSnapshotHandler", ApiSince=33)>]
abstract member TakeSnapshot : unit -> Android.Views.InputMethods.TextSnapshot
override this.TakeSnapshot : unit -> Android.Views.InputMethods.TextSnapshot
返回
null
无法完全获取时 TextSnapshot
。
实现
- 属性
注解
使用从中提取BaseInputConnection
的信息构造TextSnapshot
的默认实现。
适用于 . 的 android.view.inputmethod.BaseInputConnection.takeSnapshot()
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。