GCKImage.h
1 // Copyright 2013 Google Inc.
2 
3 #import <GoogleCast/GCKDefines.h>
4 
5 #import <Foundation/Foundation.h>
6 
7 GCK_ASSUME_NONNULL_BEGIN
8 
13 GCK_EXPORT
14 @interface GCKImage : NSObject <NSCopying, NSSecureCoding>
15 
19 @property(nonatomic, strong, readonly) NSURL *URL;
20 
24 @property(nonatomic, assign, readonly) NSInteger width;
25 
29 @property(nonatomic, assign, readonly) NSInteger height;
30 
40 - (instancetype)initWithURL:(NSURL *)URL width:(NSInteger)width height:(NSInteger)height;
41 
45 - (instancetype)init NS_UNAVAILABLE;
46 
47 @end
48 
49 GCK_ASSUME_NONNULL_END
NSInteger width
The image width, in pixels.
Definition: GCKImage.h:24
NSURL * URL
The image URL.
Definition: GCKImage.h:19
NSInteger height
The image height, in pixels.
Definition: GCKImage.h:29
instancetype NS_UNAVAILABLE()
Default initializer is not available.
A class that represents an image that is located on a web server.
Definition: GCKImage.h:14