Builder

class Builder

Builder used to construct the SudoAdTrackerBlockerClient.

Functions

Link copied to clipboard

Construct the SudoAdTrackerBlockerClient. Will throw a NullPointerException if the context or sudoUserClient have not been provided or ConfigurationException if the sudoplatformconfig.json file is missing the region or bucket item in the adTrackerBlockerService stanza.

Link copied to clipboard

Provide the application context (required input).

Link copied to clipboard

Provide the implementation of the Logger used for logging errors (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard

Provide the implementation of the StorageProvider used to read and write cached metadata and contents and the allow list (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard
fun setSudoUserClient(sudoUserClient: SudoUserClient): SudoAdTrackerBlockerClient.Builder

Provide the implementation of the SudoUserClient used to perform sign in and ownership operations (required input).