<p>
List of screenshot Urls for the execution step, if relevant.
</p>

@param screenshots
List of screenshot Urls for the execution step, if relevant.
@return Returns a reference to this object so that method calls can be chained together.
347303
public Step withScreenshots(java.util.Map<String, String> screenshots) {
        setScreenshots(screenshots);
        return this;
    }
667078
public String getScreenURL()
    {
        String strURL = super.getScreenURL();
        String strTypeParam = HEADER_RECORD;
        String strType = this.getHeaderRecord().getTableNames(false);
        strURL = this.addURLParam(strURL, strTypeParam, strType);
        return strURL;
    }
416436
def create_screenshots(quiet=False):
    
    if os.environ.get("READTHEDOCS") == "True":
        path = "../doc/screenshots"
    else:
        path = os.path.join(
            os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
            "doc/screenshots",
        )

    print("Creating screenshots...")
    samples = get_samples()
    for name, data in sorted(samples.items()):
        process(name, path, data)
1017057
public static List<Link> getLinks(final Collection<Annotation> annotations) {
        final List<Link> result = new ArrayList<>();
        result.addAll(extractLinks(annotations, io.qameta.allure.Link.class, ResultsUtils::createLink));
        result.addAll(extractLinks(annotations, io.qameta.allure.Issue.class, ResultsUtils::createLink));
        result.addAll(extractLinks(annotations, io.qameta.allure.TmsLink.class, ResultsUtils::createLink));
        return result;
    }
609081
public java.util.List<VpcClassicLink> getVpcs() {
        if (vpcs == null) {
            vpcs = new com.amazonaws.internal.SdkInternalList<VpcClassicLink>();
        }
        return vpcs;
    }
1253312
public ImageUrlResources imageUrlResources() {
        if (imageUrls.get() == null) {
            imageUrls.compareAndSet(null, new ImageUrlResourcesImpl(this));
        }
        return imageUrls.get();
    }
868476
public String getScreenURL()
    {
        String strCommand = super.getScreenURL();
        strCommand = Utility.addURLParam(strCommand, DBParams.RECORD, this.getProperty(DBParams.RECORD));
        strCommand = Utility.addURLParam(strCommand, "package", this.getProperty("package"));
        return strCommand;
    }
294343
public java.util.List<Snapshot> getSnapshots() {
        if (snapshots == null) {
            snapshots = new com.amazonaws.internal.SdkInternalList<Snapshot>();
        }
        return snapshots;
    }
344481
public java.util.List<String> getHapgList() {
        if (hapgList == null) {
            hapgList = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return hapgList;
    }
708438
public String getScreenURL()
    {
        String strURL = super.getScreenURL();
        if (this.getClass().getName().equals(BaseMenuScreen.class.getName()))
        {
            strURL = this.addURLParam(strURL, DBParams.RECORD, this.getMainRecord().getClass().getName());
            strURL = this.addURLParam(strURL, DBParams.COMMAND, MenuConstants.MENUREC);
        }
        else
            strURL = this.addURLParam(strURL, DBParams.SCREEN, this.getClass().getName());
        try   {
            if (this.getMainRecord() != null)
                if ((this.getMainRecord().getEditMode() == Constants.EDIT_IN_PROGRESS) || (this.getMainRecord().getEditMode() == Constants.EDIT_CURRENT))
                {
                    String strBookmark = this.getMainRecord().getHandle(DBConstants.OBJECT_ID_HANDLE).toString();
                    strURL = this.addURLParam(strURL, DBConstants.STRING_OBJECT_ID_HANDLE, strBookmark);
                }
        } catch (DBException ex)    {
            Debug.print(ex);
            ex.printStackTrace();
        }
        return strURL;
    }
827847
public java.util.List<SnapshotDetail> getSnapshotDetails() {
        if (snapshotDetails == null) {
            snapshotDetails = new com.amazonaws.internal.SdkInternalList<SnapshotDetail>();
        }
        return snapshotDetails;
    }
625507
public java.util.List<VPC> getVPCs() {
        if (vPCs == null) {
            vPCs = new com.amazonaws.internal.SdkInternalList<VPC>();
        }
        return vPCs;
    }
650840
function screenshotServiceUrl(siteUrl) {
    return url.format({
        protocol: 'http',
        hostname: DEF_MANET_HOST,
        port: DEF_MANET_PORT,
        query: {
            callback: DEF_CALLBACK,
            url: siteUrl,
            force: true
        }
    });
}
1227681
public static Bitmap createScreenshot(Context context) {
        if (!hasScreenshotPermission(context)) {
            LogUtils.log(ScreenshotUtils.class, Log.ERROR, "Screenshot permission denied.");
            return null;
        }

        final WindowManager windowManager =
                (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);

        final Bitmap bitmap = SurfaceControlCompatUtils.screenshot(0, 0);

        // Bail if we couldn't take the screenshot.
        if (bitmap == null) {
            LogUtils.log(ScreenshotUtils.class, Log.ERROR, "Failed to take screenshot.");
            return null;
        }

        final int width = bitmap.getWidth();
        final int height = bitmap.getHeight();
        final int rotation = windowManager.getDefaultDisplay().getRotation();

        final int outWidth;
        final int outHeight;
        final float rotationDegrees;

        switch (rotation) {
            case Surface.ROTATION_90:
                outWidth = height;
                outHeight = width;
                rotationDegrees = 90;
                break;
            case Surface.ROTATION_180:
                outWidth = width;
                outHeight = height;
                rotationDegrees = 180;
                break;
            case Surface.ROTATION_270:
                outWidth = height;
                outHeight = width;
                rotationDegrees = 270;
                break;
            default:
                return bitmap;
        }

        // Rotate the screenshot to match the screen orientation.
        final Bitmap rotatedBitmap =
                Bitmap.createBitmap(outWidth, outHeight, Bitmap.Config.RGB_565);
        final Canvas c = new Canvas(rotatedBitmap);

        c.translate(outWidth / 2.0f, outHeight / 2.0f);
        c.rotate(-rotationDegrees);
        c.translate(-width / 2.0f, -height / 2.0f);
        c.drawBitmap(bitmap, 0, 0, null);

        bitmap.recycle();

        return rotatedBitmap;
    }
1094080
public java.util.List<ParameterObject> getParameterObjects() {
        if (parameterObjects == null) {
            parameterObjects = new com.amazonaws.internal.SdkInternalList<ParameterObject>();
        }
        return parameterObjects;
    }
48878
static Screenshot getScreenshot(File screenshot, File output) {
    String relativePath = createRelativeUri(screenshot, output);
    String caption = screenshot.getName();
    return new Screenshot(relativePath, caption);
  }
442683
public Map<String, URL> nextImageSet() {
        return buildImageSet(dirs.get(random.nextInt(dirs.size())));
    }