add Friendly Obstruction
fun addFriendlyObstruction(view: View, purpose: TWMNativeAdView.FriendlyObstructionPurpose)
Content copied to clipboard
Add a view as a friendly obstruction to fulfill Open-Measurement Standard. If the view is related to the ad but outside the ad, specify the view with a proper purpose.
See also
https://interactiveadvertisingbureau.github.io/Open-Measurement-SDKAndroid/
Parameters
view
the view to be the obstruction view.
purpose
the obstruction purpose defined in FriendlyObstructionPurpose.