CommandNotificationMessage

Command Reminder Message Class

This is a command message class. Messages of this type are stored but do not count towards unread message numbers. The difference from CommandMessage is that this message is stored and displayed in the UI.

Constructors

Link copied to clipboard
public void CommandNotificationMessage(Array<byte> data)
public void CommandNotificationMessage(Parcel in)

Properties

Link copied to clipboard
public final static Creator<CommandNotificationMessage> CREATOR
Link copied to clipboard
public String data
Link copied to clipboard
public String name

Functions

Link copied to clipboard
public int describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object.
Link copied to clipboard
public Array<byte> encode()
Link copied to clipboard
public String getData()
Retrieves command data, which can be in any format, such as JSON.
Link copied to clipboard
public String getName()
Retrieves the command name.
Link copied to clipboard
public static CommandNotificationMessage obtain(String name, String data)
Creates a message instance.
Link copied to clipboard
public void setData(String data)
Sets the command data, which can be in any format, such as JSON.
Link copied to clipboard
public void setName(String name)
Sets the command name.
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)
Writes the class data into the provided Parcel.