Difference between revisions of "BKSProcessAssertion"

From iPhone Development Wiki
Jump to: navigation, search
(Methods)
m (Methods: typo.)
Line 6: Line 6:
  
 
{{function signature
 
{{function signature
|signature=-([[NSString]]*)NameForReason:([[NSUInteger]])reason;
+
|signature=+([[NSString]]*)NameForReason:([[NSUInteger]])reason;
 
|firmware=6.0–
 
|firmware=6.0–
 
}}
 
}}

Revision as of 10:53, 29 September 2014

This article is a stub; please help expand it.

BKSProcessAssertion is a class in BackBoardServices.framework. As described by Adam Bell, "This class allows you to give a certain application permissions to stay alive and not be killed by watchdog."

Methods

Signature +(NSString*)NameForReason:(NSUInteger)reason;
Available in 6.0–
Reason Result
0 @"none"
1 @"audio"
2 @"location"
3 @"external-accessory"
4 @"finishTask"
5 @"bluetooth"
6 @"networkAuthentication"
7 @"backgroundUI"
8 @"interAppAudioStreaming"
9 @"viewServices"
10 @"newsstandDownload"
11 @"backgroundDownload"
Other (12+) @"Unknown"
10000 @"activation"
10001 @"suspend"
10002 @"transientWakeup"
10003 @"voip"
10004 @"finishTaskUnbounded"
10005 @"continuous"
10006 @"backgroundContentFetching"
Other (10006+) @"Unknown"

References