Compartilhar via


TopicsManager.GetTopics(GetTopicsRequest, IExecutor, IOutcomeReceiver) Method

Definition

Return the topics.

[Android.Runtime.Register("getTopics", "(Landroid/adservices/topics/GetTopicsRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_TOPICS")]
public void GetTopics (Android.AdServices.Topics.GetTopicsRequest getTopicsRequest, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("getTopics", "(Landroid/adservices/topics/GetTopicsRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_TOPICS")>]
member this.GetTopics : Android.AdServices.Topics.GetTopicsRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

getTopicsRequest
GetTopicsRequest

The request for obtaining Topics.

executor
IExecutor

The executor to run callback.

callback
IOutcomeReceiver

The callback that's called after topics are available or an error occurs.

Attributes

Remarks

Return the topics.

Java documentation for android.adservices.topics.TopicsManager.getTopics(android.adservices.topics.GetTopicsRequest, java.util.concurrent.Executor, android.os.OutcomeReceiver<android.adservices.topics.GetTopicsResponse, java.lang.Exception>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to