Class CommandMessage
- 
                    
                    - All Implemented Interfaces:
 
 public class CommandMessageCommand Message Class Command message class. This type of message is neither stored nor counted in the unread message count. The difference between this and CommandNotificationMessage is that this message is not stored and will not be displayed in the UI. 
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description CommandMessage(Array<byte> data)CommandMessage(Parcel in)
 - 
                                
                            
                                Method SummaryModifier and Type Method Description StringgetName()Retrieves the command name. voidsetName(String name)Sets the command name. StringgetData()Retrieves command data, which can be in any format, such as JSON. voidsetData(String data)Sets the command data, which can be in any format, such as JSON. static CommandMessageobtain(String name, String data)Creates a message instance. 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. - 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        CommandMessageCommandMessage(Array<byte> data) 
 - 
                                        CommandMessageCommandMessage(Parcel in) 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        getNameString getName() Retrieves the command name. - Returns:
- The command name. 
 
 - 
                                        setNamevoid setName(String name) Sets the command name. - Parameters:
- name- The command name.
 
 - 
                                        getDataString getData() Retrieves command data, which can be in any format, such as JSON. - Returns:
- Command data, which can be in any format, such as JSON. 
 
 - 
                                        setDatavoid setData(String data) Sets the command data, which can be in any format, such as JSON. - Parameters:
- data- The command data, which can be in any format, such as JSON.
 
 - 
                                        obtainstatic CommandMessage obtain(String name, String data) Creates a message instance. - Parameters:
- name- Specifies the command name.
- data- Sets the command data, which can be in any format, such as JSON.
- Returns:
- The message instance. 
 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) Writes the class's data into the provided Parcel. - Parameters:
- dest- The Parcel into which the object is written.
- flags- Additional flags about how the object should be written, which may 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 the Parcelable object's special object type collection. 
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-