mute
Mutes or unmutes the audio.
Enables or disables audio output without changing the volume level.
Example usage:
SurfaceView surfaceView = findViewById(R.id.surface_view);
SandboxedPlayer player = new SandboxedPlayer(context, surfaceView);
player.mute(true); // Mute audio
Log.d("Client", "Muted: " + player.isMuted()); // true
Content copied to clipboard
Parameters
should Mute
True to mute, false to unmute.