gbox-sdk
    Preparing search index...

    Interface ActionLongPressByPoint

    interface ActionLongPressByPoint {
        duration?: string;
        options?: Omit<
            undefined
            | GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        > & ActionOptionsOverride;
        screenshotDelay?:
            | `${number}h`
            | `${number}m`
            | `${number}s`
            | `${number}ms`;
        x: number;
        y: number;
    }

    Hierarchy

    • OmitDeprecatedParams<LongPress>
      • ActionLongPressByPoint
    Index

    Properties

    duration?: string

    Duration to hold the press (e.g. '1s', '500ms')

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

    options?: Omit<
        undefined
        | GboxClient.V1.Boxes.ActionCommonOptions,
        "screenshot",
    > & ActionOptionsOverride

    Action common options

    screenshotDelay?: `${number}h` | `${number}m` | `${number}s` | `${number}ms`
    x: number

    X coordinate of the long press

    y: number

    Y coordinate of the long press