SecureSignalsCollectSignalsCallback

interface SecureSignalsCollectSignalsCallback


Defines callback methods for an implementation of SecureSignalsAdapter to communicate success or failure of a call to collectSignals

Summary

Public functions

Unit

To be invoked when signal collection fails.

Unit
onSuccess(signals: String!)

To be invoked when the signals have been successfully collected.

Public functions

onFailure

fun onFailure(error: Exception!): Unit

To be invoked when signal collection fails.

Parameters
error: Exception!

Information about the nature of the failure.

onSuccess

fun onSuccess(signals: String!): Unit

To be invoked when the signals have been successfully collected.

Parameters
signals: String!

The encrypted string which should be included on ad requests.