Class ImageMessage
- 
                    
                    - All Implemented Interfaces:
 
 public class ImageMessageImage Message Class The image message class. This message will be stored and counted as an unread message. 
- 
                
                    
                    - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public final static Creator<ImageMessage>CREATOR
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description ImageMessage()// Version 5.1.3 is deprecated. ImageMessage(Array<byte> data)ImageMessage(Parcel in)Constructor. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description static ImageMessageobtain()Creates an ImageMessage object. static ImageMessageobtain(Uri localUri)Generates an ImageMessage object. static ImageMessageobtain(Uri localUri, boolean isFull)Creates an ImageMessage object. static ImageMessageobtain(Uri thumUri, Uri localUri)Generates an ImageMessage object. static ImageMessageobtain(Uri thumUri, Uri localUri, boolean isFull)Generates an ImageMessage object. Array<byte>encode()voidwriteToParcel(Parcel dest, int flags)Writes the class's data into the provided Parcel. intdescribeContents()Describes the type of special objects included in the Parcelable object's arrangement information. voidsetIsFull(boolean isFull)Sets the flag for sending the original image. UrigetThumUri()Retrieves the thumbnail Uri. voidsetThumUri(Uri thumUri)Sets the thumbnail URI. booleanisFull()Indicates whether the image is the original. UrigetRemoteUri()Retrieves the URL of the network image (http://). voidsetRemoteUri(Uri remoteUri)Sets the network image URL (http://). StringgetBase64()Retrieves the Base64 data that needs to be passed. voidsetBase64(String base64)Set the Base64 data to be passed booleanisUpLoadExp()Indicates whether the upload failed. voidsetUpLoadExp(boolean upLoadExp)Sets whether the upload failed. UrigetLocalUri()Get the local image URL (file:///). voidsetLocalUri(Uri localUri)Sets the local image path (file:///). - 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        ImageMessageImageMessage() // Version 5.1.3 is deprecated.
 - 
                                        ImageMessageImageMessage(Array<byte> data) 
 - 
                                        ImageMessageImageMessage(Parcel in) Constructor.- Parameters:
- in- The Parcel object passed during initialization.
 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        obtain@Deprecated() static ImageMessage obtain() Creates an ImageMessage object. - Returns:
- An instance of the ImageMessage object. @Deprecated It is recommended to use obtain for handling image messages. If you need to set the thumbnail separately, call setThumUri. 
 
 - 
                                        obtainstatic ImageMessage obtain(Uri localUri) Generates an ImageMessage object. - Parameters:
- localUri- The URI of the original image.
- Returns:
- An instance of the ImageMessage object. 
 
 - 
                                        obtainstatic ImageMessage obtain(Uri localUri, boolean isFull) Creates an ImageMessage object. - Parameters:
- localUri- The URI of the large image.
- isFull- Indicates whether to send the original image.
- Returns:
- An instance of the ImageMessage object. 
 
 - 
                                        obtain@Deprecated() static ImageMessage obtain(Uri thumUri, Uri localUri) Generates an ImageMessage object. - Parameters:
- thumUri- The URI of the thumbnail image.
- localUri- The URI of the full-size image.
- Returns:
- An instance of the ImageMessage object. @Deprecated It is recommended to use obtain for handling image messages. If you need to set the thumbnail separately, call setThumUri. 
 
 - 
                                        obtain@Deprecated() static ImageMessage obtain(Uri thumUri, Uri localUri, boolean isFull) Generates an ImageMessage object. - Parameters:
- thumUri- The URI of the thumbnail image.
- localUri- The URI of the full-size image.
- isFull- Indicates whether to send the original image.
- Returns:
- An instance of the ImageMessage object. @Deprecated It is recommended to use obtain for handling image messages. If you need to set the thumbnail separately, call setThumUri. 
 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) Writes the class's data into the provided Parcel. - Parameters:
- dest- The Parcel where the object is written.
- flags- Additional flags about how the object is written, which can be 0 or PARCELABLE_WRITE_RETURN_VALUE.
 
 - 
                                        describeContentsint describeContents() Describes the type of special objects included in the Parcelable object's arrangement information. - Returns:
- A flag indicating the arrangement of special object types in the Parcelable object collection. 
 
 - 
                                        setIsFullvoid setIsFull(boolean isFull) Sets the flag for sending the original image. - Parameters:
- isFull- Indicates whether to send the original image.
 
 - 
                                        getThumUriUri getThumUri() Retrieves the thumbnail Uri. - Returns:
- The thumbnail Uri (in the case of received messages, this is an internal Uri. To obtain the actual address, use ResourceManager.getInstance().getFile(new Resource(Uri))). 
 
 - 
                                        setThumUrivoid setThumUri(Uri thumUri) Sets the thumbnail URI. - Parameters:
- thumUri- The URI of the thumbnail
 
 - 
                                        isFullboolean isFull() Indicates whether the image is the original. - Returns:
- True if the image is original, false otherwise. 
 
 - 
                                        getRemoteUriUri getRemoteUri() Retrieves the URL of the network image (http://). - Returns:
- The URL of the network image (http://). 
 
 - 
                                        setRemoteUrivoid setRemoteUri(Uri remoteUri) Sets the network image URL (http://). - Parameters:
- remoteUri- The network image URL (http://).
 
 - 
                                        getBase64String getBase64() Retrieves the Base64 data that needs to be passed. - Returns:
- The Base64 data. 
 
 - 
                                        setBase64void setBase64(String base64) Set the Base64 data to be passed - Parameters:
- base64- The Base64 data.
 
 - 
                                        isUpLoadExpboolean isUpLoadExp() Indicates whether the upload failed. - Returns:
- Indicates whether the upload failed. 
 
 - 
                                        setUpLoadExpvoid setUpLoadExp(boolean upLoadExp) Sets whether the upload failed. - Parameters:
- upLoadExp- Indicates whether the upload failed.
 
 - 
                                        getLocalUriUri getLocalUri() Get the local image URL (file:///). - Returns:
- The local image URL (file:///). 
 
 - 
                                        setLocalUrivoid setLocalUri(Uri localUri) Sets the local image path (file:///). - Parameters:
- localUri- The local image path (file:///).
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-