Class ProfileNotificationMessage
-
- All Implemented Interfaces:
public class ProfileNotificationMessage
Public Service Account Information Change Message
This message class represents changes to public service account information. The message is stored but does not count towards the unread message count.
-
-
Constructor Summary
Constructors Constructor Description ProfileNotificationMessage(Array<byte> data)
ProfileNotificationMessage(Parcel in)
-
Method Summary
Modifier and Type Method Description String
getOperation()
Retrieves the operation name for profile changes. void
setOperation(String operation)
Sets the operation name for profile changes. String
getData()
Fetches data changes, which can be in any format, such as JSON. void
setData(String data)
Sets the data for profile changes, which can be in any format, such as JSON. static ProfileNotificationMessage
obtain(String operation, String data)
Creates a message instance. Array<byte>
encode()
void
writeToParcel(Parcel dest, int flags)
Writes the class data into the provided Parcel. int
describeContents()
Describes the type of special objects included in the Parcelable object arrangement information. -
-
Constructor Detail
-
ProfileNotificationMessage
ProfileNotificationMessage(Array<byte> data)
-
ProfileNotificationMessage
ProfileNotificationMessage(Parcel in)
-
-
Method Detail
-
getOperation
String getOperation()
Retrieves the operation name for profile changes.
- Returns:
The operation name for profile changes.
-
setOperation
void setOperation(String operation)
Sets the operation name for profile changes.
- Parameters:
operation
- The operation name for profile changes.
-
getData
String getData()
Fetches data changes, which can be in any format, such as JSON.
- Returns:
Data changes, which can be in any format, such as JSON.
-
setData
void setData(String data)
Sets the data for profile changes, which can be in any format, such as JSON.
- Parameters:
data
- The data for profile changes, which can be in any format, such as JSON.
-
obtain
static ProfileNotificationMessage obtain(String operation, String data)
Creates a message instance.
- Parameters:
operation
- The operation name for the profile change.data
- The data for the profile change, which can be in any format, such as JSON.- Returns:
The message instance.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
Writes the class 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, may be 0 or PARCELABLE_WRITE_RETURN_VALUE.
-
describeContents
int describeContents()
Describes the type of special objects included in the Parcelable object arrangement information.
- Returns:
A flag indicating the arrangement of the Parcelable object's special object type collection.
-
-
-
-