GetTopicsResponse


class GetTopicsResponse
kotlin.Any
   ↳ android.adservices.topics.GetTopicsResponse

Represent the result from the getTopics API.

Summary

Nested classes

Builder for GetTopicsResponse objects.

Public methods
Boolean
equals(other: Any?)

MutableList<EncryptedTopic!>

Returns a List of EncryptedTopic objects returned by getTopics API.

MutableList<Topic!>

Returns a List of Topic objects returned by getTopics API.

Int

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.

getEncryptedTopics

fun getEncryptedTopics(): MutableList<EncryptedTopic!>

Returns a List of EncryptedTopic objects returned by getTopics API.

Return
MutableList<EncryptedTopic!> This value cannot be null.

getTopics

fun getTopics(): MutableList<Topic!>

Returns a List of Topic objects returned by getTopics API.

Return
MutableList<Topic!> This value cannot be null.

hashCode

Added in API level 34
fun hashCode(): Int
Return
Int a hash code value for this object.