public class CloudImage
extends java.lang.Object
implements android.os.Parcelable
CloudImage Cloud图片的ID。
CloudImage 图片压缩后url,尺寸为400*400。
CloudImage 图片的原始url,最大限制获取1024*1024。
This defines a CloudImage object for cloud data Cloud. A CloudImage consists of the following members:
CloudImage The ID of the Cloud image.
CloudImage The compressed image URL, size 400*400.
CloudImage The original image URL, with a maximum size of 1024*1024.
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<CloudImage> |
CREATOR
已过时。
|
| 构造器和说明 |
|---|
CloudImage(android.os.Parcel parcel)
已过时。
|
CloudImage(java.lang.String id,
java.lang.String preurl,
java.lang.String url)
已过时。
根据给定的参数构造一个 CloudImage 的新对象
Construct a new CloudImage object with the given parameters. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents()
已过时。
|
java.lang.String |
getId()
已过时。
获取cloud数据的图片id标识
Get the image ID of the cloud data. |
java.lang.String |
getPreurl()
已过时。
获取到cloud数据的经过压缩处理的图片地址,尺寸为400*400,若期望获取体积较小的图片文件,建议使用此地址
Get the compressed image URL of the cloud data, size 400*400, If you want a smaller image file, it is recommended to use this URL. |
java.lang.String |
getUrl()
已过时。
获取cloud数据的图片地址,最大限制获取1024*1024,若您的原始图片小于该尺寸,将返回原图
Get the image URL of the cloud data, with a maximum size of 1024*1024, If your original image is smaller than this size, the original will be returned. |
void |
setId(java.lang.String id)
已过时。
设置cloud数据的图片的id标识
Set the image ID of the cloud data. |
void |
setPreurl(java.lang.String preurl)
已过时。
设置Cloud数据的经过压缩处理后的图片地址
Set the compressed image URL of the Cloud data. |
void |
setUrl(java.lang.String url)
已过时。
设置cloud数据的图片的原始地址
Set the original URL of the cloud data image. |
void |
writeToParcel(android.os.Parcel parcel,
int flags)
已过时。
|
public static final android.os.Parcelable.Creator<CloudImage> CREATOR
public CloudImage(java.lang.String id,
java.lang.String preurl,
java.lang.String url)
id - -Cloud图片的ID。
preurl - -CloudImage经过压缩处理的图片地址。
url - - CloudImage图片的原始地址。
public CloudImage(android.os.Parcel parcel)
public java.lang.String getId()
public void setId(java.lang.String id)
id - - 图片的id标识。
public java.lang.String getPreurl()
public void setPreurl(java.lang.String preurl)
preurl - - 压缩处理后图片地址。
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - - 原始图片的地址。
public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel parcel,
int flags)
writeToParcel 在接口中 android.os.Parcelable