public class FalconScreenshotStrategy extends java.lang.Object implements ScreenshotStrategy
Screenshot strategy that delegates to Falcon for screenshot capture. Requires API level >= 10
| Constructor and Description |
|---|
FalconScreenshotStrategy(android.app.Activity activity) |
| Modifier and Type | Method and Description |
|---|---|
void |
takeScreenshot(java.lang.String screenshotName,
ScreenshotCallback screenshotCallback) |
public FalconScreenshotStrategy(android.app.Activity activity)
public void takeScreenshot(java.lang.String screenshotName,
ScreenshotCallback screenshotCallback)
takeScreenshot in interface ScreenshotStrategyscreenshotName - The screenshot name given to Screengrab.screenshot(String).
Should be passed through to the screenshotCallback.screenshotCallback - The callback object to notify after the screenshot is captured