Class ScreenShotProcess
-
- All Implemented Interfaces:
-
com.inmobi.adquality.process.AdQualityProcess
public final class ScreenShotProcess extends BaseScreenShotProcess
AdQualityProcess for screen shot capture This class is responsible for taking a adView, capturing a screenshot and saving it to the file. Call generateResult for capturing, saving and getting the saved image file location
neelabh.parui
-
-
Constructor Summary
Constructors Constructor Description ScreenShotProcess(View adView, AdConfig.AdQualityConfig adQualityConfig)
-
Method Summary
Modifier and Type Method Description BitmapgenerateResult()final BitmaptakeScreenshot(View adView)-
-
Constructor Detail
-
ScreenShotProcess
ScreenShotProcess(View adView, AdConfig.AdQualityConfig adQualityConfig)
- Parameters:
adView-view to be captured
adQualityConfig-AdConfig.AdQualityConfig config object
-
-
Method Detail
-
generateResult
@WorkerThread() Bitmap generateResult()
-
takeScreenshot
final Bitmap takeScreenshot(View adView)
-
-
-
-