Shaka Player Embedded
track_objc.h
Go to the documentation of this file.
1 // Copyright 2020 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15 // AUTO-GENERATED: DO NOT EDIT
16 
17 #ifndef SHAKA_EMBEDDED_OBJC_TRACK_H_
18 #define SHAKA_EMBEDDED_OBJC_TRACK_H_
19 
20 #import <Foundation/Foundation.h>
21 
22 #include "macros.h"
23 
24 NS_ASSUME_NONNULL_BEGIN
25 
35 @interface ShakaTrack : NSObject
36 
38 @property (atomic, readonly) double id;
39 
44 @property (atomic, readonly) BOOL active;
45 
47 @property (atomic, readonly) NSString *type;
48 
50 @property (atomic, readonly) double bandwidth;
51 
56 @property (atomic, readonly) NSString *language;
57 
59 @property (atomic, readonly, nullable) NSString *label;
60 
65 @property (atomic, readonly, nullable) NSString *kind;
66 
68 @property (atomic, readonly, nullable) NSNumber *width;
69 
71 @property (atomic, readonly, nullable) NSNumber *height;
72 
74 @property (atomic, readonly, nullable) NSNumber *frameRate;
75 
77 @property (atomic, readonly, nullable) NSString *mimeType;
78 
80 @property (atomic, readonly, nullable) NSString *codecs;
81 
83 @property (atomic, readonly, nullable) NSString *audioCodec;
84 
86 @property (atomic, readonly, nullable) NSString *videoCodec;
87 
95 @property (atomic, readonly) BOOL primary;
96 
98 @property (atomic, readonly) NSArray<NSString *> *roles;
99 
101 @property (atomic, readonly, nullable) NSNumber *videoId;
102 
104 @property (atomic, readonly, nullable) NSNumber *audioId;
105 
107 @property (atomic, readonly, nullable) NSNumber *channelsCount;
108 
110 @property (atomic, readonly, nullable) NSNumber *audioBandwidth;
111 
113 @property (atomic, readonly, nullable) NSNumber *videoBandwidth;
114 
115 @end
116 
117 
118 NS_ASSUME_NONNULL_END
119 #endif // SHAKA_EMBEDDED_OBJC_TRACK_H_
NSString * videoCodec
Definition: track_objc.h:86
#define SHAKA_EXPORT
Definition: macros.h:30
BOOL active
Definition: track_objc.h:44
NSString * label
Definition: track_objc.h:59
NSString * audioCodec
Definition: track_objc.h:83
NSString * mimeType
Definition: track_objc.h:77
NSNumber * audioId
Definition: track_objc.h:104
NSString * codecs
Definition: track_objc.h:80
NSNumber * videoId
Definition: track_objc.h:101
NSString * language
Definition: track_objc.h:56
BOOL primary
Definition: track_objc.h:95
NSNumber * audioBandwidth
Definition: track_objc.h:110
NSNumber * height
Definition: track_objc.h:71
NSString * type
Definition: track_objc.h:47
NSNumber * width
Definition: track_objc.h:68
NSNumber * channelsCount
Definition: track_objc.h:107
double bandwidth
Definition: track_objc.h:50
NSArray< NSString * > * roles
Definition: track_objc.h:98
NSNumber * videoBandwidth
Definition: track_objc.h:113
NSString * kind
Definition: track_objc.h:65
NSNumber * frameRate
Definition: track_objc.h:74