java.lang.Object | |||
↳ | com.neomades.content.Query | ||
↳ | com.neomades.content.ContentQuery | ||
↳ | com.neomades.content.image.ImageQuery |
Query that requests an image from URL.
An instance of ImageQuery
can be used only once.
The ImageQuery uses a particular RetryPolicy
with the following
characteristics:
RetryPolicy
with
setRetryPolicy(com.neomades.content.retry.RetryPolicy)
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageQuery(int method, String url, int maxWidth, int maxHeight)
Creates a new Image query to provide an Image to
ImageUrlLabel |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new Image query to provide an Image to ImageUrlLabel
method | HTTP Method |
---|---|
url | the url of the image |
maxWidth | the max-width in pixels wanted by the ImageUrlLabel |
maxHeight | the max-height in pixels wanted by the ImageUrlLabel |