visualizer(enable)

Class: MediaPlayer.

Description:

Sets or gets whether to show visualizer for audio-only streams (when no video stream is present, such as when playing music).

Parameters:

Name Type Description

enable

boolean

Use or not use visualizer for audio-only streams.

Returns:

When setting value an instance of this object is returned, otherwise a current value is returned.

Type: boolean | MediaPlayer