ICTopic
This class exposes Real-Time Messaging topic data that is used to publish outgoing messages or subscribe to receive incoming messages.
getCreatedAt
This method is used to retrieve the date on which a topic is created.
Syntax: Date getCreatedAt()
Return Value: Returns the date on which the topic is created.
getId
This method is used to get topic Id.
Syntax: String getId()
Return Value: Returns the Id for the Topic.
getTitle
This method is used to get the topic title.
Syntax: String getTitle()
Return Value: Returns the topic title.
getGroup
This method is used to get the topic’s group.
Syntax: String getGroup()
Return Value: Returns the topic's group.
isSubscribed
This method is used to verify whether the current user is subscribed to the topic.
Syntax: Boolean isSubscribed()
Return Value: Returns true if the current user is subscribed to the topic.
getName
This method is used to get the topic name.
Syntax: String getName()
Return Value: Returns the topic name.
Updated over 1 year ago