mute(mute)
Class: MediaPlayer.
Description:
Sets or gets the mute state of the media player audio. If muted, it will produce silence instead of provided sound.
Its only used if audio stream is present.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
boolean |
|
Returns:
When setting value an instance of this object is returned, otherwise a current value is returned.
Type: boolean | MediaPlayer
