gbox-sdk
    Preparing search index...

    Hierarchy

    • APIResource
      • Actions
    Index

    Constructors

    Properties

    _client: GboxClient

    Methods

    • Get the current structured screen layout information. This endpoint returns detailed structural information about the UI elements currently displayed on the screen, which can be used for UI automation, element analysis, and accessibility purposes. The format varies by box type: Android boxes return XML format with detailed UI hierarchy information including element bounds, text content, resource IDs, and properties, while other box types may return different structured formats.

      Parameters

      • boxID: string
      • Optionaloptions: RequestOptions

      Returns APIPromise<GboxClient.V1.Boxes.ActionScreenLayoutResponse>

      const response = await client.v1.boxes.actions.screenLayout(
      'c9bdc193-b54b-4ddb-a035-5ac0c598d32d',
      );