-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBTManager.h
executable file
·98 lines (82 loc) · 2.34 KB
/
BTManager.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
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class NSString;
@class NSMutableArray;
@interface SBBluetoothController : NSObject {
NSMutableArray* _devices;
BOOL _tetheringConnected;
}
+(id)sharedInstance;
-(void)startWatchingForDevices;
-(BOOL)tetheringConnected;
-(void)stopWatchingForDevices;
-(id)firstBTDeviceToReportBatteryLevel;
-(void)iapDeviceChanged:(id)arg1 ;
-(void)connectionChanged:(id)arg1 ;
-(void)addDeviceNotification:(id)arg1 ;
-(void)removeDeviceNotification:(id)arg1 ;
-(void)batteryChanged:(id)arg1 ;
-(void)bluetoothDeviceInitiatedVoiceControl:(id)arg1 ;
-(void)bluetoothDeviceEndedVoiceControl:(id)arg1 ;
-(void)noteDevicesChanged;
-(void)updateTetheringConnected;
-(void)updateBattery;
-(BOOL)canReportBatteryLevel;
-(id)deviceForAudioRoute:(id)arg1 ;
-(void)dealloc;
-(int)batteryLevel;
@end
@interface BluetoothDevice : NSObject
-(id)name;
-(id)address;
@end
@interface BTSDevice : NSObject
-(id)name;
-(id)identifier;
@end
@interface BTSDeviceClassic : BTSDevice
@end
@interface SBApplication: NSObject
@property (nonatomic,readonly) NSString * bundleIdentifier;
@property (nonatomic,readonly) NSString * displayName;
@end
@interface MPAVRoute : NSObject
@property (nonatomic,readonly) NSString * routeUID;
-(id)routeName;
-(BOOL)isPickedOnPairedDevice;
-(BOOL)isSplitterCapable;
-(BOOL)isShareableRoute;
-(BOOL)isAirpodsRoute;
-(BOOL)isSplitRoute;
@end
@interface MPAVRoutingController : NSObject
@property (nonatomic, readonly, copy) NSArray *availableRoutes;
@property (nonatomic, readonly) MPAVRoute* pickedRoute;
-(bool)pickRoute:(id)arg1;
-(id)availableRoutes;
@end
@interface SBMediaController : NSObject {
MPAVRoutingController* _routingController;
}
@property (nonatomic,assign,readonly) SBApplication * nowPlayingApplication;
+(id)sharedInstance;
-(void)routingControllerAvailableRoutesDidChange:(id)arg1;
-(void)_mediaRemoteNowPlayingApplicationDidChange:(id)arg1;
-(BOOL)isPaused;
-(BOOL)isPlaying;
-(BOOL)togglePlayPauseForEventSource:(NSInteger)arg1;
@end
@interface MRAVConcreteOutputDevice : NSObject
-(id)name;
@end
@interface MPAVOutputDeviceRoute : MPAVRoute
-(bool)isAppleTVRoute;
-(id)routeUID;
// -(id)routeName;
// -(BOOL)isPickedOnPairedDevice;
@end
@interface MPAVRoutingViewControllerDelegate
-(void)routingViewController:(id)arg1 didPickRoute:(id)arg2;
@end
@interface MPAVClippingTableView: UIView
@end