A class that represents an image that is located on a web server.
More...
#import <GCKImage.h>
A class that represents an image that is located on a web server.
Used for such things as GCKDevice icons and GCKMediaMetadata artwork.
- (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
-
NSInvalidArgumentException | if the URL is nil or empty, or the dimensions are invalid. |
- (instancetype) NS_UNAVAILABLE |
|
|
|
Default initializer is not available.
The image height, in pixels.
The image width, in pixels.
The documentation for this class was generated from the following file: