Skip to main content

KeepScreenOn

Function KeepScreenOn 

Source
pub fn KeepScreenOn(enabled: bool)
Expand description

Keeps the platform display awake while this call remains in composition and enabled is true. Multiple active callers are reference-counted.