A class that represents an image that is located on a web server.
| public static final Creator<WebImage> | CREATOR |
| boolean | |
| int |
getHeight()
Gets the image height, in pixels.
|
| Uri |
getUrl()
Gets the image URL.
|
| int |
getWidth()
Gets the image width, in pixels.
|
| int |
hashCode()
|
| String |
toString()
Returns a string representation of this object.
|
| void |
writeToParcel(Parcel out, int
flags)
|
Constructs a new WebImage
with the given URL and dimensions.
| url | The URL of the image. |
|---|---|
| width | The width of the image, in pixels. |
| height | The height of the image, in pixels. |
| IllegalArgumentException | If the URL is null or empty, or the dimensions are invalid. |
|---|
Constructs a new WebImage
with the given URL.
| url | The URL of the image. |
|---|
| IllegalArgumentException | If the URL is null or empty. |
|---|
Gets the image height, in pixels.
Gets the image URL.
Gets the image width, in pixels.
Returns a string representation of this object.