SecureSignalsAdapter

interface SecureSignalsAdapter


Mediation adapter for gathering Secure Signals generated by a 3P entity that is not the publisher.

Summary

Public functions

Unit
collectSignals(
    context: Context!,
    callback: SecureSignalsCollectSignalsCallback!
)
VersionInfo!

Returns the version of the third party SDK built into the app.

VersionInfo!

Returns the version of the SecureSignals Adapter.

Unit

Called by Interactive Media Ads SDK to initialize a third party adapter and SDK.

Public functions

collectSignals

fun collectSignals(
    context: Context!,
    callback: SecureSignalsCollectSignalsCallback!
): Unit

getSDKVersion

fun getSDKVersion(): VersionInfo!

Returns the version of the third party SDK built into the app.

getVersion

fun getVersion(): VersionInfo!

Returns the version of the SecureSignals Adapter.

initialize

fun initialize(context: Context!, callback: SecureSignalsInitializeCallback!): Unit

Called by Interactive Media Ads SDK to initialize a third party adapter and SDK. This method is invoked shortly after the app initializes the advertising SDK, on a Worker thread.

Parameters
context: Context!

The context the publisher provided to the Ads SDK.

callback: SecureSignalsInitializeCallback!

A callback to be invoked when the adapter has finished initialization or failed to initialize.