3 #import <GoogleCast/GCKDefines.h> 5 #import <Foundation/Foundation.h> 7 GCK_ASSUME_NONNULL_BEGIN
14 @interface GCKImage : NSObject <NSCopying, NSSecureCoding>
19 @property(nonatomic, strong, readonly) NSURL *
URL;
24 @property(nonatomic, assign, readonly) NSInteger
width;
29 @property(nonatomic, assign, readonly) NSInteger
height;
40 - (instancetype)initWithURL:(NSURL *)URL width:(NSInteger)width height:(NSInteger)height;
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