addFriendlyObstruction

abstract fun addFriendlyObstruction(view: View, purpose: FriendlyObstructionPurpose, reason: String)

Add friendly obstruction which should then be excluded from all ad session viewability calculations.

Parameters

view

The view considered to be a friendly obstruction.

purpose

The FriendlyObstructionPurpose

reason

A detailed reason explaining the use of the friendly obstruction.