Udostępnij za pośrednictwem


IsolatedService.GetEventUrlProvider(RequestToken) Method

Definition

Returns an EventUrlProvider for the current request.

[Android.Runtime.Register("getEventUrlProvider", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/EventUrlProvider;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.EventUrlProvider GetEventUrlProvider (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("getEventUrlProvider", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/EventUrlProvider;", "", ApiSince=35)>]
member this.GetEventUrlProvider : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.EventUrlProvider

Parameters

requestToken
RequestToken

an opaque token that identifies the current request to the service.

Returns

An EventUrlProvider that returns event tracking URLs.

Attributes

Remarks

Returns an EventUrlProvider for the current request. The EventUrlProvider provides URLs that can be embedded in HTML. When the HTML is rendered in an android.webkit.WebView, the platform intercepts requests to these URLs and invokes IsolatedWorker#onEvent(EventInput, Consumer).

Java documentation for android.adservices.ondevicepersonalization.IsolatedService.getEventUrlProvider(android.adservices.ondevicepersonalization.RequestToken).

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