WebTriggerRegistrationRequest.Builder


public static final class WebTriggerRegistrationRequest.Builder
extends Object

java.lang.Object
   ↳ android.adservices.measurement.WebTriggerRegistrationRequest.Builder


Builder for WebTriggerRegistrationRequest.

Summary

Public constructors

Builder(List<WebTriggerParams> webTriggerParams, Uri destination)

Builder constructor for WebTriggerRegistrationRequest.

Public methods

WebTriggerRegistrationRequest build()

Pre-validates parameters and builds WebTriggerRegistrationRequest.

Inherited methods

Public constructors

Builder

public Builder (List<WebTriggerParams> webTriggerParams, 
                Uri destination)

Builder constructor for WebTriggerRegistrationRequest.

Parameters
webTriggerParams List: contains trigger registration parameters, the list should not be empty This value cannot be null.

destination Uri: trigger destination Uri This value cannot be null.

Public methods

build

public WebTriggerRegistrationRequest build ()

Pre-validates parameters and builds WebTriggerRegistrationRequest.

Returns
WebTriggerRegistrationRequest This value cannot be null.