Properties - Android
getId()
-
type:
String
-
getId()
will return unique id of the pubsub message.
getMessage()
-
type:
String
-
getMessage()
will return message that has been published on the specific topic.
getTopic()
-
type:
String
-
getTopic()
will return name of the message topic.
getSenderId()
-
type:
String
-
getSenderId()
will return id of the participant, who has sent the message.
getSenderName()
-
type:
String
-
getSenderName()
will return name of the participant, who has sent the pubsub message.
getTimestamp()
-
type:
long
-
getTimestamp()
will return timestamp at which, the pubsub message was sent.
getPayload()
-
type:
JSONObject
-
getPayload()
will return data that you have send with message.
Got a Question? Ask us on discord