setPermutiveAdListener

fun AdView.setPermutiveAdListener(permutive: PermutiveSdk, listener: AdListener? = null)

Sets an ad listener which will track ad impressions through Permutive. This will override any listener set through the AdView.adListener function, any listener should instead be passed to this function.

Parameters

permutive

Singleton instance of the Permutive SDK

listener

optional AdListener for listening to ad events