GCKVideoInfo.h
1 // Copyright 2016 Google Inc.
2 
3 #import <GoogleCast/GCKDefines.h>
4 
5 #import <Foundation/Foundation.h>
6 
11 typedef NS_ENUM(NSInteger, GCKVideoInfoHDRType) {
13  GCKVideoInfoHDRTypeUnknown = -1,
15  GCKVideoInfoHDRTypeSDR = 0,
17  GCKVideoInfoHDRTypeDV = 1,
19  GCKVideoInfoHDRTypeHDR = 2
20 };
21 
22 GCK_ASSUME_NONNULL_BEGIN
23 
29 GCK_EXPORT
30 @interface GCKVideoInfo : NSObject <NSCopying, NSSecureCoding>
31 
33 @property(nonatomic, assign, readonly) NSUInteger width;
34 
36 @property(nonatomic, assign, readonly) NSUInteger height;
37 
39 @property(nonatomic, assign, readonly) GCKVideoInfoHDRType hdrType;
40 
41 @end
42 
43 GCK_ASSUME_NONNULL_END
NSUInteger width
The width of the video, in pixels.
Definition: GCKVideoInfo.h:33
A class representing video format details.
Definition: GCKVideoInfo.h:30
GCKVideoInfoHDRType hdrType
The HDR type employed int the video, if any.
Definition: GCKVideoInfo.h:39
NSUInteger height
The height of the video, in pixels.
Definition: GCKVideoInfo.h:36