-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathYoutubeClientType.h
More file actions
31 lines (26 loc) · 1.02 KB
/
YoutubeClientType.h
File metadata and controls
31 lines (26 loc) · 1.02 KB
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
#import <Foundation/Foundation.h>
// Youtube accepts a variety of clients, with each having different things they can do
@interface YoutubeClientType : NSObject
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *nameProto;
@property (nonatomic, strong) NSString *version;
@property (nonatomic, strong) NSString *screen;
@property (nonatomic, strong) NSString *osName;
@property (nonatomic, strong) NSString *osVersion;
@property (nonatomic, strong) NSString *platform;
@property (nonatomic, strong) NSString *useragent;
@property (nonatomic, strong) NSDictionary *configData;
// web
+(YoutubeClientType*)webClient;
// +(YoutubeRequestClient*)webEmbeddedPlayer;
+(YoutubeClientType*)webSafariClient;
+(YoutubeClientType*)tvEmbeddedClient;
+(YoutubeClientType*)webMobileClient;
+(YoutubeClientType*)iosClient;
// +(YoutubeRequestClient*)webScreenEmbed;
// +(YoutubeRequestClient*)webCreator;
// android
+(YoutubeClientType*)androidClient;
+(YoutubeClientType*)androidVrClient;
-(NSDictionary*)makeContext;
@end