Udostępnij za pośrednictwem


AccessibilityWindowInfo.Recycle Method

Definition

Return an instance back to be reused.

[Android.Runtime.Register("recycle", "()V", "")]
public void Recycle ();
[<Android.Runtime.Register("recycle", "()V", "")>]
member this.Recycle : unit -> unit
Attributes

Exceptions

If the info is already recycled.

Remarks

Return an instance back to be reused.

<strong>Note:</strong> You must not touch the object after calling this function.

In most situations object pooling is not beneficial, and recycling is not necessary.

Java documentation for android.view.accessibility.AccessibilityWindowInfo.recycle().

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