ImageMessage

public class ImageMessage

Image Message Class

The image message class. This message will be stored and counted as an unread message.

Constructors

Link copied to clipboard
@Deprecated()
public void ImageMessage()
// Version 5.1.3 is deprecated.
public void ImageMessage(Array<byte> data)
public void ImageMessage(Parcel in)
Constructor.

Properties

Link copied to clipboard
public final static Creator<ImageMessage> CREATOR
Read interface, designed to construct an instance of a class that implements Parcelable from a Parcel.

Functions

Link copied to clipboard
public int describeContents()
Describes the type of special objects included in the Parcelable object's arrangement information.
Link copied to clipboard
public Array<byte> encode()
Link copied to clipboard
public String getBase64()
Retrieves the Base64 data that needs to be passed.
Link copied to clipboard
public Uri getLocalUri()
Get the local image URL (file:///).
Link copied to clipboard
public Uri getRemoteUri()
Retrieves the URL of the network image (http://).
Link copied to clipboard
public Uri getThumUri()
Retrieves the thumbnail Uri.
Link copied to clipboard
public boolean isFull()
Indicates whether the image is the original.
Link copied to clipboard
public boolean isUpLoadExp()
Indicates whether the upload failed.
Link copied to clipboard
@Deprecated()
public static ImageMessage obtain()
public static ImageMessage obtain(Uri localUri, boolean isFull)
Creates an ImageMessage object.
public static ImageMessage obtain(Uri localUri)
@Deprecated()
public static ImageMessage obtain(Uri thumUri, Uri localUri)
@Deprecated()
public static ImageMessage obtain(Uri thumUri, Uri localUri, boolean isFull)
Generates an ImageMessage object.
Link copied to clipboard
public void setBase64(String base64)
Set the Base64 data to be passed
Link copied to clipboard
public void setIsFull(boolean isFull)
Sets the flag for sending the original image.
Link copied to clipboard
public void setLocalUri(Uri localUri)
Sets the local image path (file:///).
Link copied to clipboard
public void setRemoteUri(Uri remoteUri)
Sets the network image URL (http://).
Link copied to clipboard
public void setThumUri(Uri thumUri)
Sets the thumbnail URI.
Link copied to clipboard
public void setUpLoadExp(boolean upLoadExp)
Sets whether the upload failed.
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)
Writes the class's data into the provided Parcel.