-
Notifications
You must be signed in to change notification settings - Fork 18
/
SBMediaController.h
executable file
·126 lines (120 loc) · 3.7 KB
/
SBMediaController.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
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <Foundation/Foundation.h>
@class MPAudioDeviceController, NSDictionary, NSTimer;
@interface SBMediaController : NSObject
{
int _manualVolumeChangeCount;
NSDictionary *_nowPlayingInfo;
float _pendingVolumeChange;
NSTimer *_volumeCommitTimer;
BOOL _debounceVolumeRepeat;
int _numberOfVolumeDecreasesSinceDownButtonDown;
int _lastNowPlayingAppPID;
BOOL _lastNowPlayingAppIsPlaying;
BOOL _suppressHUD;
BOOL _ringerMuted;
BOOL _screenSharing;
BOOL _screenSharingSetsStatusBarOverride;
NSTimer *_screenSharingStatusBarOverrideTimer;
NSTimer *_videoOutStatusBarOverrideTimer;
MPAudioDeviceController *_audioDeviceController;
}
+ (void)sendResetPlaybackTimeoutCommand;
+ (void)interrupt;
+ (BOOL)applicationCanBeConsideredNowPlaying:(id)arg1;
+ (id)sharedInstance;
- (void)_delayedExtendSleepTimer;
- (void)_commitVolumeChange:(id)arg1;
- (void)_cancelPendingVolumeChange;
- (void)_nowPlayingAppIsPlayingDidChange;
- (void)_nowPlayingPIDChanged;
- (void)_nowPlayingInfoChanged;
- (void)_systemMuteChanged:(id)arg1;
- (void)_softMuteChanged:(id)arg1;
- (void)_systemVolumeChanged:(id)arg1;
- (void)_externalScreenChanged:(id)arg1;
- (void)_updateAVRoutes;
- (void)_serverConnectionDied:(id)arg1;
- (void)_unregisterForNotifications;
- (void)_registerForNotifications;
- (void)_airPlayPasswordAlertWillDisappear;
- (void)_airPlayPasswordAlertWillAppear;
- (id)nameOfPickedRoute;
- (BOOL)isScreenSharing;
- (BOOL)routeOtherThanHandsetIsAvailable;
- (BOOL)volumeControlIsAvailable;
- (BOOL)handsetRouteIsSelected;
- (void)requestAirPlayRouteDiscovery:(BOOL)arg1;
- (void)audioDeviceControllerMediaServerDied:(id)arg1;
- (void)audioDeviceControllerAudioRoutesChanged:(id)arg1;
- (void)handleVolumeEvent:(struct __IOHIDEvent *)arg1;
- (void)cancelVolumeEvent;
- (void)decreaseVolume;
- (void)increaseVolume;
- (float)_calcButtonRepeatDelay;
- (void)_changeVolumeBy:(float)arg1;
- (BOOL)lastSavedRingerMutedState;
@property(nonatomic, getter=isRingerMuted) BOOL ringerMuted;
- (BOOL)muted;
- (void)setVolume:(float)arg1;
- (float)volume;
- (BOOL)setPlaybackSpeed:(int)arg1;
- (BOOL)toggleShuffle;
- (BOOL)toggleRepeat;
- (BOOL)skipFifteenSeconds:(int)arg1;
- (BOOL)stop;
- (BOOL)togglePlayPause;
- (BOOL)pause;
- (BOOL)play;
- (BOOL)endSeek:(int)arg1;
- (BOOL)beginSeek:(int)arg1;
- (BOOL)changeTrack:(int)arg1;
- (BOOL)_sendMediaCommand:(unsigned int)arg1;
- (void)_startVideoOutStatusBarStyleOverride;
- (void)_clearVideoOutStatusBarStyleOverride;
- (void)updateScreenSharingStatusBarStyleOverride;
- (void)updateScreenSharingStatusBarStyleOverrideSuppressionPreference;
- (void)_clearScreenSharingStatusBarStyleOverride;
@property BOOL suppressHUD;
- (id)mediaControlsDestinationApp;
- (id)nowPlayingApplication;
- (BOOL)trackIsBeingPlayedByMusicApp;
- (void)setCurrentTrackTime:(float)arg1;
- (double)trackElapsedTime;
- (id)artwork;
- (double)trackDuration;
- (int)shuffleMode;
- (int)repeatMode;
- (id)nowPlayingAlbum;
- (id)nowPlayingTitle;
- (id)nowPlayingArtist;
- (BOOL)trackSupports15SecondFF;
- (BOOL)trackSupports15SecondRewind;
- (BOOL)trackIsOnWishList;
- (BOOL)addTrackToWishList;
- (BOOL)likeTrack;
- (BOOL)banTrack;
- (BOOL)trackProhibitsSkip;
- (BOOL)trackSupportsIsLiked;
- (BOOL)trackSupportsIsBanned;
- (BOOL)trackIsLiked;
- (BOOL)trackIsBanned;
- (BOOL)isRadioTrack;
- (BOOL)isAdvertisement;
- (unsigned long long)trackUniqueIdentifier;
- (BOOL)isTVOut;
- (BOOL)isMovie;
- (BOOL)isPaused;
- (BOOL)isPlaying;
- (BOOL)isLastTrack;
- (BOOL)isFirstTrack;
- (BOOL)hasTrack;
- (void)setNowPlayingInfo:(id)arg1;
- (id)_nowPlayingInfo;
- (void)dealloc;
- (id)init;
@end