UIApplication.IdleTimerDisabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If true
, indicates that the screen should not dim even when no input is occurring.
public virtual bool IdleTimerDisabled { [Foundation.Export("isIdleTimerDisabled")] get; [Foundation.Export("setIdleTimerDisabled:")] set; }
member this.IdleTimerDisabled : bool with get, set
Property Value
The default value is false
.
- Attributes
Remarks
The idle timer dims the screen after some amount of time has passed without user interaction. Application developers who wish to keep the screen fully powered can set this property to true
. For instance, games whose input is restricted to the accelerometer may set this value to true
.