Page Summary
-
GCKImage represents an image located on a web server, used for things like device icons and media artwork.
-
GCKImage can be constructed with a given URL and dimensions using
initWithURL:width:height:. -
The default initializer for GCKImage is not available.
-
GCKImage has properties for its URL, width, and height.
Overview
A class that represents an image that is located on a web server.
Used for such things as GCKDevice icons and GCKMediaMetadata artwork.
Inherits NSObject, <NSCopying>, and <NSCoding>.
Method Detail
| - (instancetype) initWithURL: | (NSURL *) | URL | |
| width: | (NSInteger) | width | |
| height: | (NSInteger) | height | |
Constructs a new GCKImage with the given URL and dimensions.
Designated initializer.
- Parameters
-
URL The URL of the image. width The width of the image, in pixels. height The height of the image, in pixels.
- Exceptions
- NSInvalidArgumentExceptionif the URL is
nilor empty, or the dimensions are invalid.
| - (instancetype) init |
Default initializer is not available.
Property Detail
The image URL.
The image width, in pixels.
The image height, in pixels.

