-
Notifications
You must be signed in to change notification settings - Fork 253
/
AVPlayerViewController.h
218 lines (209 loc) · 10.8 KB
/
AVPlayerViewController.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/AVKit.framework/AVKit
*/
@interface AVPlayerViewController : UIViewController <AVPictureInPictureControllerDelegate, UIGestureRecognizerDelegate, UIPopoverPresentationControllerDelegate, UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate> {
id _activeAudioRouteDidChangeObserver;
bool _allowsPictureInPicturePlayback;
bool _animateFullScreenTransition;
bool _animateFullScreenTransitionForPresenting;
id _applicationSuspendedObserver;
AVAudioOnlyIndicatorView * _audioOnlyIndicatorView;
UIView * _containerView;
UIView * _contentOverlayView;
UIView * _contentView;
UIView * _controlsView;
<AVPlayerViewControllerDelegate> * _delegate;
struct {
bool playerViewControllerWillStartPictureInPicture;
bool playerViewControllerDidStartPictureInPicture;
bool playerViewController_failedToStartPictureInPictureWithError;
bool playerViewControllerWillStopPictureInPicture;
bool playerViewControllerDidStopPictureInPicture;
bool playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart;
bool playerViewController_restoreUserInterfaceForPictureInPictureStopWithCompletionHandler;
bool playerViewController_shouldExitFullScreenWithReason;
} _delegateRespondsTo;
AVExternalPlaybackIndicatorView * _externalPlaybackIndicatorView;
AVFullScreenViewController * _fullScreenViewController;
AVTouchIgnoringView * _iAdPrerollView;
bool _isAnimatingPlaybackControlsViewVisibility;
bool _isHidingPlaybackControlsViewForPictureInPicturePlayback;
bool _isShowingPlaybackControlsViewAfterUserInteraction;
bool _isShowingPlaybackControlsViewForAudioOnlyContent;
bool _isShowingPlaybackControlsViewForPlayingOnExternalScreen;
bool _isShowingPlaybackControlsViewForUnsupportedContent;
bool _isShowingPlaybackControlsViewForUserInteraction;
bool _isTransitioningToOrFromFullScreen;
NSTimer * _loadingIndicatorTimer;
AVLoadingIndicatorView * _loadingIndicatorView;
id _nowPlayingControllerDidReceiveStopCommandEventObserver;
AVNowPlayingInfoController * _nowPlayingInfoController;
AVPictureInPictureController * _pictureInPictureController;
NSDictionary * _pixelBufferAttributes;
AVPlaybackControlsViewController * _playbackControlsViewController;
bool _playbackControlsViewControllerPictureInPictureButtonEnabled;
long long _playbackControlsViewControllerScaleButtonType;
bool _playbackControlsViewControllerShouldShowLoadingIndicator;
bool _playbackControlsViewControllerShowsScaleButton;
long long _playbackControlsViewVisibilityCounter;
bool _playbackControlsViewVisibilityNeedsUpdate;
NSTimer * _playbackControlsViewVisibilityTimer;
AVPlayerController * _playerController;
__AVPlayerLayerView * _playerLayerView;
bool _playerShouldAutoplay;
id _screenDidConnectObserver;
id _screenDidDisconnectObserver;
id _screenModeDidChangeObserver;
UIWindow * _secondScreenWindow;
bool _showsExitFullScreenButton;
bool _showsPlaybackControls;
bool _showsPlaybackControlsView;
bool _transitionFromFullScreenOrDismissViewControllerWhenEnteringBackgroundAfterPictureInPictureStart;
AVUnsupportedContentIndicatorView * _unsupportedContentIndicatorView;
long long _videoGravity;
bool _viewIsFullScreen;
}
@property (nonatomic) bool allowsPictureInPicturePlayback;
@property (nonatomic, readonly) UIView *contentOverlayView;
@property (readonly, copy) NSString *debugDescription;
@property (nonatomic) <AVPlayerViewControllerDelegate> *delegate;
@property (readonly, copy) NSString *description;
@property (readonly) unsigned long long hash;
@property (nonatomic, readonly) UIView *iAdPrerollView;
@property (getter=isPictureInPictureActive, nonatomic, readonly) bool pictureInPictureActive;
@property (getter=isPictureInPicturePossible, nonatomic, readonly) bool pictureInPicturePossible;
@property (getter=isPictureInPictureSuspended, nonatomic, readonly) bool pictureInPictureSuspended;
@property (nonatomic, readonly) bool pictureInPictureWasStartedWhenEnteringBackground;
@property (nonatomic, copy) NSDictionary *pixelBufferAttributes;
@property (nonatomic, retain) AVPlayer *player;
@property (nonatomic, retain) AVPlayerController *playerController;
@property (getter=isReadyForDisplay, nonatomic, readonly) bool readyForDisplay;
@property (nonatomic) bool showsExitFullScreenButton;
@property (nonatomic) bool showsPlaybackControls;
@property (readonly) Class superclass;
@property (nonatomic) bool updatesNowPlayingInfoCenter;
@property (nonatomic, readonly) struct CGRect { struct CGPoint { double x_1_1_1; double x_1_1_2; } x1; struct CGSize { double x_2_1_1; double x_2_1_2; } x2; } videoBounds;
@property (nonatomic, copy) NSString *videoGravity;
// Image: /System/Library/Frameworks/AVKit.framework/AVKit
+ (void)initialize;
+ (id)keyPathsForValuesAffectingPictureInPictureActive;
+ (id)keyPathsForValuesAffectingPictureInPicturePossible;
+ (id)keyPathsForValuesAffectingPictureInPictureSuspended;
+ (id)keyPathsForValuesAffectingPictureInPictureWasStartedWhenEnteringBackground;
+ (id)keyPathsForValuesAffectingPixelBufferAttributes;
+ (id)keyPathsForValuesAffectingPlayer;
+ (id)keyPathsForValuesAffectingReadyForDisplay;
+ (id)keyPathsForValuesAffectingVideoBounds;
+ (id)keyPathsForValuesAffectingVideoGravity;
- (void).cxx_destruct;
- (void)_fireLoadingIndicatorTimer:(id)arg1;
- (void)_firePlaybackControlsViewVisibilityTimer:(id)arg1;
- (void)_handleDoubleDoubleTapGesture:(id)arg1;
- (void)_handleDoubleTapGesture:(id)arg1;
- (void)_handlePinchGesture:(id)arg1;
- (void)_handleSingleTapGesture:(id)arg1;
- (void)_hidePlaybackControlsViewIfPossible;
- (void)_hidePlaybackControlsViewIfPossibleAfterDelayIfPlaying;
- (void)_hidePlaybackControlsViewIfPossibleAfterDelayIfPlayingWithDelay:(double)arg1;
- (void)_hidePlaybackControlsViewIfPossibleUntilFurtherUserInteraction;
- (bool)_ignoreAppSupportedOrientations;
- (bool)_isAudioOnlyContent;
- (bool)_isUnsupportedContent;
- (void)_mediaSelectionDoneButtonTapped:(id)arg1;
- (void)_setPlaybackControlsViewVisibilityNeedsUpdate;
- (void)_showOrHidePlaybackControlsView;
- (void)_showPlaybackControlsViewIfNeeded;
- (void)_showPlaybackControlsViewIfNeededAndHideIfPossibleAfterDelayIfPlaying;
- (void)_showPlaybackControlsViewIfNeededAndHideIfPossibleAfterDelayIfPlayingWithDelay:(double)arg1;
- (bool)_showsPlaybackControlsView;
- (void)_togglePictureInPicture;
- (void)_transitionFromFullScreenViewControllerAnimated:(bool)arg1 completionHandler:(id /* block */)arg2;
- (void)_transitionFromFullScreenViewControllerWithReason:(long long)arg1 animated:(bool)arg2 completionHandler:(id /* block */)arg3;
- (void)_transitionToFullScreenViewControllerAnimated:(bool)arg1 completionHandler:(id /* block */)arg2;
- (void)_updateAudioOnlyIndicatorView;
- (void)_updateExternalPlaybackIndicatorView;
- (void)_updatePictureInPictureButtonEnabled;
- (void)_updatePlaybackControlsViewController;
- (void)_updatePlaybackControlsViewVisibilityForAudioOnlyContent;
- (void)_updatePlaybackControlsViewVisibilityForPlayingOnExternalScreen;
- (void)_updatePlaybackControlsViewVisibilityForUnsupportedContent;
- (void)_updatePlaybackControlsViewVisibilityIfNeeded;
- (void)_updatePlayerLayerViewAndContentOverlayView;
- (void)_updateScaleButtonType;
- (void)_updateShowsScaleButton;
- (void)_updateUnsupportedContentIndicatorView;
- (void)_updateViewIsFullScreen:(bool)arg1;
- (long long)adaptivePresentationStyleForPresentationController:(id)arg1;
- (bool)allowsPictureInPicturePlayback;
- (void)animateTransition:(id)arg1;
- (id)animationControllerForDismissedController:(id)arg1;
- (id)animationControllerForPresentedController:(id)arg1 presentingController:(id)arg2 sourceController:(id)arg3;
- (void)animationEnded:(bool)arg1;
- (bool)canBecomeFirstResponder;
- (id)childViewControllerForStatusBarHidden;
- (id)contentOverlayView;
- (void)dealloc;
- (id)delegate;
- (void)doneButtonTapped:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (void)enterFullScreenAnimated:(bool)arg1 completionHandler:(id /* block */)arg2;
- (void)exitFullScreenAnimated:(bool)arg1 completionHandler:(id /* block */)arg2;
- (void)fullScreenButtonTapped:(id)arg1;
- (bool)gestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2;
- (void)hidePlaybackControlsViewForTouchUp;
- (id)iAdPrerollView;
- (id)initWithCoder:(id)arg1;
- (id)initWithNibName:(id)arg1 bundle:(id)arg2;
- (id)initWithPlayerLayerView:(id)arg1;
- (bool)isPictureInPictureActive;
- (bool)isPictureInPicturePossible;
- (bool)isPictureInPictureSuspended;
- (bool)isReadyForDisplay;
- (void)loadView;
- (void)mediaSelectionButtonTapped:(id)arg1;
- (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void*)arg4;
- (void)pictureInPictureButtonTapped:(id)arg1;
- (void)pictureInPictureController:(id)arg1 failedToStartPictureInPictureWithError:(id)arg2;
- (void)pictureInPictureController:(id)arg1 restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:(id /* block */)arg2;
- (void)pictureInPictureControllerDidStartPictureInPicture:(id)arg1;
- (void)pictureInPictureControllerDidStopPictureInPicture:(id)arg1;
- (void)pictureInPictureControllerWillStartPictureInPicture:(id)arg1;
- (void)pictureInPictureControllerWillStopPictureInPicture:(id)arg1;
- (bool)pictureInPictureWasStartedWhenEnteringBackground;
- (id)pixelBufferAttributes;
- (id)player;
- (id)playerController;
- (void)popoverPresentationControllerDidDismissPopover:(id)arg1;
- (long long)preferredWhitePointAdaptivityStyle;
- (id)presentationController:(id)arg1 viewControllerForAdaptivePresentationStyle:(long long)arg2;
- (void)scaleButtonTapped:(id)arg1;
- (void)setAllowsPictureInPicturePlayback:(bool)arg1;
- (void)setDelegate:(id)arg1;
- (void)setPixelBufferAttributes:(id)arg1;
- (void)setPlayer:(id)arg1;
- (void)setPlayerController:(id)arg1;
- (void)setShowsExitFullScreenButton:(bool)arg1;
- (void)setShowsPlaybackControls:(bool)arg1;
- (void)setUpdatesNowPlayingInfoCenter:(bool)arg1;
- (void)setVideoGravity:(id)arg1;
- (void)showPlaybackControlsViewForTouchDown;
- (void)showPlaybackControlsViewForVolumeChange;
- (bool)showsExitFullScreenButton;
- (bool)showsPlaybackControls;
- (void)startPictureInPicture;
- (void)stopPictureInPicture;
- (void)togglePlayback:(id)arg1;
- (double)transitionDuration:(id)arg1;
- (bool)updatesNowPlayingInfoCenter;
- (struct CGRect { struct CGPoint { double x_1_1_1; double x_1_1_2; } x1; struct CGSize { double x_2_1_1; double x_2_1_2; } x2; })videoBounds;
- (id)videoGravity;
- (void)viewDidAppear:(bool)arg1;
- (void)viewDidDisappear:(bool)arg1;
- (void)viewWillAppear:(bool)arg1;
// Image: /System/Library/Frameworks/iAd.framework/iAd
+ (void)preparePrerollAds;
- (id)_iAd_prerollController;
- (void)cancelPreroll;
- (void)playPrerollAdWithCompletionHandler:(id /* block */)arg1;
- (void)set_iAd_prerollController:(id)arg1;
@end