Stay organized with collections Save and categorize content based on your preferences.

GetTopicsRequest

public final class GetTopicsRequest
extends Object

java.lang.Object
   ↳ android.adservices.topics.GetTopicsRequest


Get Topics Request.

Summary

Public methods

static GetTopicsRequest create()

Builds a GetTopicsRequest instance.

static GetTopicsRequest createWithAdsSdkName(String adsSdkName)

Create a GetTopicsRequest instance with the provided Ads Sdk Name.

String getAdsSdkName()

Get the Sdk Name.

Inherited methods

Public methods

create

public static GetTopicsRequest create ()

Builds a GetTopicsRequest instance.

This should be called by either the app itself or by SDK running inside the Sandbox.

Returns
GetTopicsRequest This value cannot be null.

createWithAdsSdkName

public static GetTopicsRequest createWithAdsSdkName (String adsSdkName)

Create a GetTopicsRequest instance with the provided Ads Sdk Name.

This should be called by SDKs running outside of the Sandbox.

Parameters
adsSdkName String: the Ads Sdk Name. This value cannot be null.

Returns
GetTopicsRequest This value cannot be null.

getAdsSdkName

public String getAdsSdkName ()

Get the Sdk Name.

Returns
String This value cannot be null.