• This project
    • Loading...
  • Sign in

flutter_package / flutter_wakelock

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • flutter_wakelock
  • wakelock
  • ios
  • Classes
  • IdleTimerDisabledObserver.h
  • Prevent double-observers for the idleTimerDisabled value change (#108) · 6501a6c2 ...
    6501a6c2 Browse Files
    * Add a additional class to wrap observers for the sharedApplication.idleTimerDisabled
    
    * CL & version
    
    * Align wording with other entries
    
    Co-authored-by: creativecreatorormaybenot <creativecreatorormaybenot@gmail.com>
    Sebastian Roth authored 2021-04-16 09:52:48 +0000
IdleTimerDisabledObserver.h 258 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface IdleTimerDisabledObserver : NSObject

@property BOOL enable;

+ (IdleTimerDisabledObserver*)singleInstance;

- (void) beginObserving;

- (void) endObserving;

@end

NS_ASSUME_NONNULL_END