gbox-sdk
    Preparing search index...

    Interface ActionScreenshotParams

    interface ActionScreenshotParams {
        clip?: Clip;
        outputFormat?: "base64" | "storageKey";
        presignedExpiresIn?: string;
        saveToAlbum?: boolean;
        scrollCapture?: ScrollCapture;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clip?: Clip

    Clipping region for screenshot capture

    outputFormat?: "base64" | "storageKey"

    Type of the URI. default is base64.

    presignedExpiresIn?: string

    Presigned url expires in. Only takes effect when outputFormat is storageKey.

    Supported time units: ms (milliseconds), s (seconds), m (minutes), h (hours) Example formats: "500ms", "30s", "5m", "1h" Default: 30m

    saveToAlbum?: boolean

    Whether to save the screenshot to the device screenshot album

    scrollCapture?: ScrollCapture

    Scroll capture parameters