Interface ScreenshotScrollingDecorator

  • All Implemented Interfaces:

    
    public interface ScreenshotScrollingDecorator
    
                        

    Implement this interface to at your BaseSdkChallenge implementation(s) to enable multiple screenshot for Views that clip the device screen boundaries. Goal is to give the Reference Application a reference to the WebView or ScrollView so it can scroll the View and take multiple screenshots.

    Example:

    public class SdkAppChallenge : BaseSdkChallenge|SingleSelectChallenge|.., ScreenshotScrollingDecorator { .. override fun getScrollViewForScreenshot() : ScrollView { return sdkActivity.getScrollView() // to be determined by sdk }; .. }

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract WebView getWebViewForScreenshot() Override to pass back the WebView.
      abstract ScrollView getScrollViewForScreenshot() Override to pass back the ScrollView.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait