BaseInputConnection.TakeSnapshot 方法

定义

使用从中提取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 属性许可证中所述的术语使用。

适用于