PSPDFBrightnessManager


@interface PSPDFBrightnessManager : NSObject

PSPDFBrightnessManager can be used to manage the screen idle timer.

  • Controls how the idle timer (idleTimerDisabled) should be managed, or if you handle this manually. Defaults to PSPDFIdleTimerManagementManual.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        PSPDFIdleTimerManagement idleTimerManagement;

    Swift

    var idleTimerManagement: PSPDFIdleTimerManagement { get set }
  • Time in seconds in which the default idle time should be extended. Defaults to 10 * 60 = 10 minutes.

    Note

    Setting this will re-set the idle timer to the new time.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval extendedIdleTime;

    Swift

    var extendedIdleTime: TimeInterval { get set }