/
SpringBoard.h
109 lines (64 loc) · 2.39 KB
/
SpringBoard.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@class FBScene;
@interface SBApplication : NSObject
- (FBScene*)mainScene;
- (NSString*)bundleIdentifier;
- (BOOL)isRunning;
- (NSString*)displayName;
- (BOOL)hasHiddenTag;
- (BOOL)isActivating;
- (UIInterfaceOrientation)statusBarOrientation;
- (UIInterfaceOrientation)currentInterfaceOrientation;
@end
@interface SBApplicationController : NSObject
+ (id)sharedInstance;
- (SBApplication*)applicationWithBundleIdentifier:(NSString*)bundleIdentifier;
@end
@interface SBDisplayItem : NSObject
@property(readonly, copy, nonatomic) NSString *displayIdentifier;
+ (id)displayItemWithType:(NSString *)arg1 displayIdentifier:(id)arg2;
@end
@interface SBAppSwitcherModel : NSObject
+ (id)sharedInstance;
- (NSArray<SBDisplayItem*>*)mainSwitcherDisplayItems;
- (id)_displayItemForApplication:(id)arg1;
-(void)addToFront:(id)arg1 role:(long long)arg2; // arg1 is a SBDisplayItem
-(void)remove:(id)arg1; // arg1 is a SBDisplayItem
@end
@interface SBIcon : NSObject
- (id)getCachedIconImage:(int)location;
- (int)iconFormatForLocation:(int)arg1;
@end
@interface SBIconModel : NSObject
- (id)expectedIconForDisplayIdentifier:(NSString*)displayIdentifier;
@end
@interface SBIconController : NSObject
+ (SBIconController*)sharedInstance;
- (SBIconModel*)model;
@end
@interface SBIconView : UIView
+ (CGSize)defaultIconSize;
+ (CGSize)defaultIconImageSize;
@end
@interface UIApplication ()
- (bool)launchApplicationWithIdentifier:(NSString*)arg1 suspended:(bool)arg2;
@end
@interface SpringBoard : UIApplication
- (SBApplication*)_accessibilityFrontMostApplication;
- (_Bool)isLocked;
@end
@interface SBAppSwitcherModel (AppCenter)
@property (nonatomic, readonly) NSMutableArray *recentAppIdentifiers;
- (NSArray<NSString*>*)appcenter_model;
@end
@interface SBApplication (AppCenter)
- (void)appcenter_setBackgrounded:(BOOL)backgrounded withCompletion:(void (^)(BOOL))completion;
- (void)appcenter_startBackgroundingWithCompletion:(void (^)(BOOL))completion;
- (void)appcenter_stopBackgroundingWithCompletion:(void (^)(BOOL))completion;
@end
@interface SBAppSwitcherSnapshotView : UIView
+ (id)appSwitcherSnapshotViewForDisplayItem:(id)arg1 orientation:(long long)arg2 preferringDownscaledSnapshot:(_Bool)arg3 loadAsync:(_Bool)arg4 withQueue:(id)arg5;
@end
@interface SBDeckSwitcherPageViewProvider : NSObject
- (id)pageViewForDisplayItem:(id)arg1 synchronously:(BOOL)arg2;
- (id)initWithDelegate:(id)delegate;
@end