SIGN UP

Payload

Class that represent message payload format.

Methods

getData

Object getData()

Get payload data.

Returns

  • Return:

    Object

    Payload data

getTitle

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

getType

String getType()

Get arbitrary payload type.

Returns

  • Return:

    String

    Arbitrary payload type

setData

void setData(Object data)

Set payload data.

Parameters

  • data:

    Object

    Payload data

setTitle

void setTitle(String title)

Set payload fragment unique title.

Parameters

  • title:

    String

    Payload fragment unique title

setType

void setType(String type)

Set arbitrary payload type.

Parameters

  • type:

    String

    Arbitrary payload type

toString

String toString()

Returns

  • Return:

    String