BradmaxPlayerSdk
BPSMSubtitlesFile.h
1 #ifndef BPSMSubtitlesFile_h
2 #define BPSMSubtitlesFile_h
3 
4 #import <Foundation/Foundation.h>
5 
7 @interface BPSMSubtitlesFile : NSObject
8 
10 @property NSString *languageCode;
11 
13 @property NSString *url;
14 
15 + (BPSMSubtitlesFile *) newWithLanguageCode: (NSString *)languageCode
16  withUrl: (NSString *)url;
17 + (BPSMSubtitlesFile *) newFromNSDictionary: (NSDictionary *)dict;
18 
19 - (NSDictionary *) toNSDictionary;
20 
21 @end
22 
23 #endif /* BPSMSubtitlesFile_h */
Represents external file for subtitles.
Definition: BPSMSubtitlesFile.m:4
NSString * languageCode
ISO 3166-1 language code. It can be defined as alpha-2 or alpha-3 (2 or 3 letter language code).
Definition: BPSMSubtitlesFile.h:10
NSString * url
URL address for raw subtiles file (not compressed by zip or similar compression method).
Definition: BPSMSubtitlesFile.h:13