Objective-CclassBackgroundTasks
@interface BGTask : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 33
- ivar
_DASActivity *__activity;+0x28 - ivar
BOOL __completed;+0x10 - ivar
id /* block */ __completionHandler;+0x38 - ivar
NSObject<OS_dispatch_queue> *__handlerQueue;+0x30 - ivar
struct os_unfair_recursive_lock_s { struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } ourl_lock; unsigned int ourl_count; } __lock;+0x8 - ivar
id /* block */ _expirationHandler;+0x18 - ivar
NSString *_identifier;+0x20 - method
- (void).cxx_destruct; - method
- (id)_activity; - method
- (void)_callExpirationHandlerWithReason:(long long)arg0; - method
- (BOOL)_completed; - method
- (id /* block */)_completionHandler; - method
- (id)_handlerQueue; - method
- (id)_initWithIdentifier:(id)arg0 activity:(id)arg1; - method
- (void)_setActivity:(id)arg0; - method
- (void)_setCompleted:(BOOL)arg0; - method
- (void)_setCompletionHandler:(id /* block */)arg0; - method
- (void)_setHandlerQueue:(id)arg0; - method
- (void)_setTaskCompletedWithSuccess:(BOOL)arg0 actionsIfNotAlreadyCompleted:(id /* block */)arg1; - method
- (id /* block */)_unsafe_setTaskCompletedWithSuccess:(BOOL)arg0 afterDelay:(double)arg1; - method
- (void)dealloc; - method
- (id /* block */)expirationHandler; - method
- (id)identifier; - method
- (void)setExpirationHandler:(id /* block */)arg0; - method
- (void)setTaskCompletedWithSuccess:(BOOL)arg0; - method
- (id)taskRequest; - property
@property(setter=_setActivity:, retain, nonatomic) _DASActivity *_activity; - property
@property(setter=_setCompleted:, nonatomic) BOOL _completed; - property
@property(setter=_setCompletionHandler:, copy, nonatomic) id /* block */ _completionHandler; - property
@property(setter=_setHandlerQueue:, retain, nonatomic) NSObject<OS_dispatch_queue> *_handlerQueue; - property
@property(copy) id /* block */ expirationHandler; - property
@property(readonly, copy) NSString *identifier; - property
@property(readonly, copy) BGTaskRequest *taskRequest;
Header
@interface BGTask : NSObject { struct os_unfair_recursive_lock_s __lock; BOOL __completed; id /* block */ _expirationHandler; NSString *_identifier; _DASActivity *__activity; NSObject<OS_dispatch_queue> *__handlerQueue; id /* block */ __completionHandler; } @property (nonatomic, strong, setter=_setActivity:) _DASActivity *_activity; @property (nonatomic, setter=_setCompleted:) BOOL _completed; @property (nonatomic, strong, setter=_setHandlerQueue:) NSObject<OS_dispatch_queue> *_handlerQueue; @property (nonatomic, copy, setter=_setCompletionHandler:) id /* block */ _completionHandler; @property (copy, readonly) BGTaskRequest *taskRequest; @property (copy, readonly) NSString *identifier; @property (copy) id /* block */ expirationHandler; - (id /* block */)expirationHandler; - (id)taskRequest; - (void)setExpirationHandler:(id /* block */)expirationHandler; - (id)_activity; - (id /* block */)_completionHandler; - (void).cxx_destruct; - (void)dealloc; - (void)_setCompletionHandler:(id /* block */)completionHandler; - (id)identifier; - (id)_initWithIdentifier:(id)identifier activity:(id)activity; - (void)setTaskCompletedWithSuccess:(BOOL)success; - (BOOL)_completed; - (void)_callExpirationHandlerWithReason:(long long)reason; - (id)_handlerQueue; - (void)_setActivity:(id)activity; - (void)_setCompleted:(BOOL)completed; - (void)_setHandlerQueue:(id)handlerQueue; - (void)_setTaskCompletedWithSuccess:(BOOL)success actionsIfNotAlreadyCompleted:(id /* block */)actionsIfNotAlreadyCompleted; - (id /* block */)_unsafe_setTaskCompletedWithSuccess:(BOOL)success afterDelay:(double)afterDelay; @end