com.squareup.spoon
Class Spoon
java.lang.Object
com.squareup.spoon.Spoon
public final class Spoon
- extends Object
Utility class for capturing screenshots for Spoon.
|
Method Summary |
static void |
screenshot(android.app.Activity activity,
String tag)
Take a screenshot with the specified tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
screenshot
public static void screenshot(android.app.Activity activity,
String tag)
- Take a screenshot with the specified tag.
- Parameters:
activity - Activity with which to capture a screenshot.tag - Unique tag to further identify the screenshot. Must match [a-zA-Z0-9_-]+.
Copyright © 2012-2013 Square, Inc.. All Rights Reserved.