Visualizer.SetEnabled(Boolean) Method

Definition

Enable or disable the visualization engine.

[Android.Runtime.Register("setEnabled", "(Z)I", "GetSetEnabled_ZHandler")]
public virtual Android.Media.Audiofx.VisualizerStatus SetEnabled (bool enabled);
[<Android.Runtime.Register("setEnabled", "(Z)I", "GetSetEnabled_ZHandler")>]
abstract member SetEnabled : bool -> Android.Media.Audiofx.VisualizerStatus
override this.SetEnabled : bool -> Android.Media.Audiofx.VisualizerStatus

Parameters

enabled
Boolean

requested enable state

Returns

#SUCCESS in case of success, #ERROR_INVALID_OPERATION or #ERROR_DEAD_OBJECT in case of failure.

Attributes

Exceptions

Remarks

Enable or disable the visualization engine.

Java documentation for android.media.audiofx.Visualizer.setEnabled(boolean).

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