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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String operation
      public String data
      public final static Creator<ProfileNotificationMessage> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.