setBlank

public void setBlank(boolean blank)

Blanks or unblanks the video output.

This is typically used to show a blank screen over the video output without stopping playback or disconnecting the rendering surface. Use this during transitions, channel zapping, or when temporarily hiding the video content for UX reasons.

Example usage:

player.setBlank(true); // Hide video with blanking overlay
// Later, to resume showing the video:
player.setBlank(false);

Parameters

blank

true to enable blanking (hide video), false to disable it (show video).