Share via


BaseInputConnection.TakeSnapshot Method

Definition

Default implementation that constructs TextSnapshot with information extracted from BaseInputConnection.

[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

Returns

null when TextSnapshot cannot be fully taken.

Implements

Attributes

Remarks

Default implementation that constructs TextSnapshot with information extracted from BaseInputConnection.

Java documentation for android.view.inputmethod.BaseInputConnection.takeSnapshot().

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