Enum OpenAs

OpenAs

An enum that specifies how to open a URL.

The client can open a URL as either a full size window (if that is the frame used by the client), or an overlay (such as a pop-up). The implementation depends on the client platform capabilities, and the value selected may be ignored if the client does not support it. FULL_SIZE is supported by all clients.

Using OnClose may cause OpenAs to be ignored; if the client platform cannot support both selected values together, OnClose takes precedence.

To call an enum, you call its parent class, name, and property. For example, CardService.OpenAs.FULL_SIZE.

Properties

PropertyTypeDescription
FULL_SIZEEnumOpen in a full window or tab. Default.
OVERLAYEnumOpen as an overlay such as a pop-up.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年12月02日 UTC.