LaunchExternalLinkParams.LaunchMode

@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation LaunchExternalLinkParams.LaunchMode


The mode in which the external link flow should be launched.

Summary

Constants

static final int

Play will not launch the external URL.

static final int

Play will launch the URL in an external browser or eligible app as part of the external link flow.

static final int

The launch mode is unspecified.

Constants

CALLER_WILL_LAUNCH_LINK

public static final int CALLER_WILL_LAUNCH_LINK = 2

Play will not launch the external URL. Instead, Play will hand back the flow to the originating app and the app will launch the URL.

LAUNCH_IN_EXTERNAL_BROWSER_OR_APP

public static final int LAUNCH_IN_EXTERNAL_BROWSER_OR_APP = 1

Play will launch the URL in an external browser or eligible app as part of the external link flow.

LAUNCH_MODE_UNSPECIFIED

public static final int LAUNCH_MODE_UNSPECIFIED = 0

The launch mode is unspecified. Do not use.

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 2026年05月19日 UTC.