onNativeAdLoaded

abstract fun onNativeAdLoaded(@NonNull nativeAdElement: SASNativeAdElement)

Method called when the ad loading has succeeded. Important note : this method will be executed in a thread different from the main UI thread. Therefore, any code that needs to be executed in the main thread must be run using (for example) SASUtil.getMainLooperHandler().post(new Runnable() {}});

Parameters

nativeAdElement

the SASNativeAdElement returned by the servers