Share via


WebTriggerInput(Uri, String, Byte[]) Constructor

Definition

Creates a new WebTriggerInput.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;[B)V", "", ApiSince=36)]
public WebTriggerInput(Android.Net.Uri destinationUrl, string appPackageName, byte[] data);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;[B)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.WebTriggerInput : Android.Net.Uri * string * byte[] -> Android.AdServices.OnDevicePersonalization.WebTriggerInput

Parameters

destinationUrl
Uri

The destination URL (landing page) where the trigger event occurred.

appPackageName
String

The package name of the app where the trigger event occurred

data
Byte[]

Additional data returned by the server as part of the web trigger registration to be sent to the IsolatedService. This can be null if the server does not need to send data to the service for processing web triggers.

Attributes

Remarks

Creates a new WebTriggerInput.

Java documentation for android.adservices.ondevicepersonalization.WebTriggerInput.WebTriggerInput(android.net.Uri, java.lang.String, byte[]).

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