GCKImage Class Reference

A class that represents an image that is located on a web server. More...

#import <GCKImage.h>

+ Inheritance diagram for GCKImage:

Instance Methods

(instancetype) - initWithURL:width:height:
 Constructs a new GCKImage with the given URL and dimensions. More...
 
(instancetype) - NS_UNAVAILABLE
 Default initializer is not available. More...
 

Properties

NSURL * URL
 The image URL. More...
 
NSInteger width
 The image width, in pixels. More...
 
NSInteger height
 The image height, in pixels. More...
 

Detailed Description

A class that represents an image that is located on a web server.

Used for such things as GCKDevice icons and GCKMediaMetadata artwork.

Method Documentation

- (instancetype) initWithURL: (NSURL *)  URL
width: (NSInteger)  width
height: (NSInteger)  height 

Constructs a new GCKImage with the given URL and dimensions.

Designated initializer.

Parameters
URLThe URL of the image.
widthThe width of the image, in pixels.
heightThe height of the image, in pixels.
Exceptions
NSInvalidArgumentExceptionif the URL is nil or empty, or the dimensions are invalid.
- (instancetype) NS_UNAVAILABLE

Default initializer is not available.

Property Documentation

- (NSInteger) height
readnonatomicassign

The image height, in pixels.

- (NSURL*) URL
readnonatomicstrong

The image URL.

- (NSInteger) width
readnonatomicassign

The image width, in pixels.


The documentation for this class was generated from the following file: