awakeScreenWhilePlaying property

bool awakeScreenWhilePlaying
final

Whether to keep the screen on while the video is playing.

If this parameter is set to true, the screen will be kept on while the video is playing. If this parameter is set to false, the screen will be allowed to turn off while the video is playing.

Implementation

final bool awakeScreenWhilePlaying;