GCKImage Class

GCKImage Class Reference

Overview

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

Inherits NSObject, <NSCopying>, and <NSCoding>.

Instance Method Summary

(instancetype) - initWithURL:width:height:
 Constructs a new GCKImage with the given URL and dimensions. More...
 

Properties

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

Method Detail

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

Constructs a new GCKImage with the given URL and dimensions.

Designated initializer. Asserts that the URL is not be null or empty, and the dimensions are not invalid.

Parameters
URLThe URL of the image.
widthThe width of the image, in pixels.
heightThe height of the image, in pixels.

Property Documentation

- (NSURL*) URL
readnonatomicstrong

The image URL.

- (NSInteger) width
readnonatomicassign

The image width, in pixels.

- (NSInteger) height
readnonatomicassign

The image height, in pixels.

Google Cast iOS Sender API Reference v 2.10.1 4691