Partager via


ToneGenerator.Release Method

Definition

Releases resources associated with this ToneGenerator object.

[Android.Runtime.Register("release", "()V", "GetReleaseHandler")]
public virtual void Release ();
[<Android.Runtime.Register("release", "()V", "GetReleaseHandler")>]
abstract member Release : unit -> unit
override this.Release : unit -> unit
Attributes

Remarks

Releases resources associated with this ToneGenerator object. It is good practice to call this method when you're done using the ToneGenerator.

Java documentation for android.media.ToneGenerator.release().

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