SIGN UP
Navigation

Payload

Class that represent message payload format.

Methods

Object getData()

Get payload data.

Returns

  • Return:

    Object

    Payload data

String getTitle()

Get payload fragment unique title. Used to identifier fragment in the list of fragments associated with the message.

Returns

  • Return:

    String

    Payload fragment unique title

String getType()

Get arbitrary payload type.

Returns

  • Return:

    String

    Arbitrary payload type

void setData(Object data)

Set payload data.

Parameters

  • data:

    Object

    Payload data

void setTitle(String title)

Set payload fragment unique title.

Parameters

  • title:

    String

    Payload fragment unique title

void setType(String type)

Set arbitrary payload type.

Parameters

  • type:

    String

    Arbitrary payload type

String toString()

Returns

  • Return:

    String