GetTopicsRequest


class GetTopicsRequest


Represents the request for the getTopics API (which takes a GetTopicsRequest and returns a GetTopicsResponse.

Summary

Nested types

Builder for GetTopicsRequest.

Public constructors

GetTopicsRequest(adsSdkName: String, shouldRecordObservation: Boolean)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

String

The Ads SDK name.

Boolean

whether to record that the caller has observed the topics of the host app or not.

Public constructors

GetTopicsRequest

Added in 1.0.0
GetTopicsRequest(
    adsSdkName: String = "",
    shouldRecordObservation: Boolean = false
)
Parameters
adsSdkName: String = ""

The Ads SDK name. This must be called by SDKs running outside of the Sandbox. Other clients must not call it.

shouldRecordObservation: Boolean = false

whether to record that the caller has observed the topics of the host app or not. This will be used to determine if the caller can receive the topic in the next epoch.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

adsSdkName

Added in 1.0.0
val adsSdkNameString

The Ads SDK name. This must be called by SDKs running outside of the Sandbox. Other clients must not call it.

shouldRecordObservation

Added in 1.1.0-beta11
val shouldRecordObservationBoolean

whether to record that the caller has observed the topics of the host app or not. This will be used to determine if the caller can receive the topic in the next epoch.