-
Notifications
You must be signed in to change notification settings - Fork 3
/
Tweak.h
148 lines (123 loc) · 4.44 KB
/
Tweak.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#import "UIView+Constraints.h"
#import <AVFoundation/AVFoundation.h>
#import <Cephei/HBPreferences.h>
static HBPreferences *preferences;
BOOL enabled;
BOOL gestureEnabled;
BOOL animEnabled;
BOOL showSubtitlesButton;
static NSInteger buttonOneStyle = 2;
static NSInteger buttonTwoStyle = 1;
static NSInteger buttonThreeStyle = 3;
NSInteger aheadSeconds = 15;
NSInteger backSeconds = 15;
@interface AVButton : UIButton
@property(nonatomic, retain) UIVisualEffectView *backgroundEffectView;
// -(void)setInlineImageName:(NSString *)arg1 ;
// -(void)setFullScreenImageName:(NSString *)arg1 ;
@end
@interface AVView : UIView
@end
@interface AVLabel : UIView
@property(nonatomic, readonly) UILabel *label;
@end
@interface AVScrubber : UISlider
@end
@interface AVLayoutView : AVView
@end
@interface AVCABackdropLayerView : UIView
@end
@interface AVTouchIgnoringView : UIView
@end
@interface AVRoutePickerView : UIView
- (void)_routePickerButtonTapped:(id)arg1;
@end
@interface AVPlaybackControlsRoutePickerView : AVRoutePickerView
@end
@interface AVTransportControlsView : UIView
@property(assign, nonatomic) AVButton *standardPlayPauseButton;
@property(nonatomic, readonly) AVScrubber *scrubber;
@property(nonatomic, readonly) AVLabel *elapsedTimeLabel;
@property(nonatomic, readonly) AVLabel *timeRemainingLabel;
@property(nonatomic, readonly) AVLabel *liveBroadcastLabel;
@property(assign, nonatomic) BOOL showsLiveStreamingControls;
@property(assign, nonatomic) BOOL liveStreamingControlsIncludeScrubber;
@property(nonatomic, retain) AVButton *anchorCenterItem;
@property(nonatomic, retain) AVButton *rewindButton;
@property(nonatomic, retain) AVButton *fastforwardButton;
@property(nonatomic, retain) AVButton *closeButton;
@property(nonatomic, retain) UIView *darkOverlay;
@property(nonatomic, readonly) AVButton * mediaSelectionButton;
@property(nonatomic, retain) AVButton *pipButton;
@property(nonatomic, retain) AVButton *gravityButton;
@property(nonatomic, retain) AVButton *airplayButton;
@property(nonatomic, retain) AVButton *orientationButton;
@property(nonatomic, retain) AVButton *pipButton2;
@property(nonatomic, retain) AVButton *gravityButton2;
@property(nonatomic, retain) AVButton *airplayButton2;
@property(nonatomic, retain) AVButton *orientationButton2;
@property(nonatomic, retain) AVButton *pipButton3;
@property(nonatomic, retain) AVButton *gravityButton3;
@property(nonatomic, retain) AVButton *airplayButton3;
@property(nonatomic, retain) AVButton *orientationButton3;
@property(nonatomic, retain) UIView *numberView;
@property(nonatomic, retain) UILabel *leftNumber;
@property(nonatomic, retain) UILabel *rightNumber;
- (id)initWithFrame:(CGRect)arg1 styleSheet:(id)arg2;
// - (void)mediaSelectionButtonTapped:(id)arg1;
- (void)_layoutDoubleRowViews;
- (void)_layoutSingleRowViews;
- (void)dealloc;
// %new
- (void)hideScrubberAndLabels;
- (void)showScrubberAndLabels;
- (void)playButtonPressed;
- (void)closeButtonPressed;
- (void)rewindButtonPressed;
- (void)fastforwardButtonPressed;
- (void)pipButtonPressed;
- (void)gravityButtonPressed;
- (void)airplayButtonPressed;
- (void)orientationButtonPressed:(UIButton *)sender;
// - (void)mediaSelectionButtonPressThing;
- (void)leftGesture;
- (void)rightGesture;
@end
@interface AVPlaybackControlsView : UIView
// new properties
@property(nonatomic, retain) UIBlurEffect *blurEffect;
@property(nonatomic, retain) UIVisualEffectView *blurEffectView;
- (id)initWithFrame:(CGRect)arg1 styleSheet:(id)arg2;
- (void)setFullScreen:(BOOL)arg1;
@end
@interface AVPlayerController : UIResponder
- (void)seekByTimeInterval:(double)arg1 toleranceBefore:(double)arg2 toleranceAfter:(double)arg3;
- (double)currentTime;
- (void)seekToTime:(double)arg1;
@end
@interface AVPlayerViewController : UIViewController
@property (nonatomic, retain) AVPlayerController * playerController;
@property (nonatomic) BOOL requiresLinearPlayback;
- (id)initWithPlayerLayerView:(id)arg1;
- (void)togglePlayback:(id)arg1;
- (void)doneButtonTapped:(id)arg1;
- (void)_handleSkipBack15SecondsKeyCommand:(id)arg1;
- (void)_handleSkipAhead15SecondsKeyCommand:(id)arg1;
// %new
-(void)_handleSkipAhead;
-(void)_handleSkipBack;
//
- (void)pictureInPictureButtonTapped:(id)arg1;
- (void)videoGravityButtonTapped:(id)arg1;
- (void)_handleSingleTapGesture:(id)arg1;
- (void)_handleDoubleTapGesture:(id)arg1;
- (void)dealloc;
@end
// Orientation Lock
@interface SBOrientationLockManager
+ (instancetype)sharedInstance;
- (id)description;
- (BOOL)isUserLocked;
- (void)lock;
- (void)unlock;
@end