PSPDFIdleTimerManagement
Objective-C
enum PSPDFIdleTimerManagement : NSUInteger {}
Swift
@frozen enum IdleTimerManagement : UInt, @unchecked Sendable
Controls if and how the idle timer should be managed.
-
Don’t allow managing the idle timer.
Declaration
Objective-C
PSPDFIdleTimerManagementManual
Swift
case manual = 0
-
Extend the idle timer time by
extendedIdleTime
. Only honored ifPDFViewController
is on screen.Declaration
Objective-C
PSPDFIdleTimerManagementExtendedTime
Swift
case extendedTime = 1
-
Like
PSPDFIdleTimerManagementExtendedTime
but also keeps screen screen always on when an external screen is detected.Declaration
Objective-C
PSPDFIdleTimerManagementExtendedTimeExternalScreenDisablesTimer
Swift
case extendedTimeExternalScreenDisablesTimer = 2
-
Keeps screen awake as long as
PDFViewController
is on screen.Declaration
Objective-C
PSPDFIdleTimerManagementDisablesTimer
Swift
case disablesTimer = 3