Topic
class Topic
Represent the topic result from the getTopics API.
Summary
Public constructors | |
---|---|
Creates an object which represents the result from the getTopics API. |
Public methods | |
---|---|
Boolean | |
Long |
Get the ModelVersion. |
Long |
Get the TaxonomyVersion. |
Int |
Get the Topic ID. |
Int |
hashCode() |
String |
toString() |
Public constructors
Topic
Topic(
mTaxonomyVersion: Long,
mModelVersion: Long,
mTopicId: Int)
Creates an object which represents the result from the getTopics API.
Public methods
equals
Added in API level 34
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
toString
Added in API level 34
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |