Udostępnij za pośrednictwem


ITextClassifier.Destroy Method

Definition

Destroys this TextClassifier.

[Android.Runtime.Register("destroy", "()V", "GetDestroyHandler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public virtual void Destroy ();
[<Android.Runtime.Register("destroy", "()V", "GetDestroyHandler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member Destroy : unit -> unit
override this.Destroy : unit -> unit
Attributes

Remarks

Destroys this TextClassifier.

<strong>NOTE: </strong>If a TextClassifier has been destroyed, calls to its methods should throw an IllegalStateException. See #isDestroyed().

Subsequent calls to this method are no-ops.

Java documentation for android.view.textclassifier.TextClassifier.destroy().

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