# LaunchExternalLinkParams


```
public final class LaunchExternalLinkParams
```

<br />

*** ** * ** ***

Parameters to initiate the launching a link outside of the app.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams.Builder` Helps construct `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams` that are used to initiate the installation of an external app. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/java.lang.annotation.RetentionPolicy.html#SOURCE) public annotation https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams.LaunchMode` The mode in which the external link flow should be launched. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/java.lang.annotation.RetentionPolicy.html#SOURCE) public annotation https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams.LinkType` The type of the external link. |

| ### Public methods |
|---|---|
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#getBillingProgram()()` Returns the billing program. |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#getExternalTransactionToken()()` Returns the external transaction token. |
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#getLaunchMode()()` Returns the external link launch mode. |
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#getLinkType()()` Returns the type of the external link. |
| `https://developer.android.com/reference/android/net/Uri.html` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#getLinkUri()()` Returns the URI where the content will be accessed from. |
| `static https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams.Builder` | `https://developer.android.com/reference/com/android/billingclient/api/LaunchExternalLinkParams#newBuilder()()` |

## Public methods

### getBillingProgram

```
public int getBillingProgram()
```

Returns the billing program.

### getExternalTransactionToken

```
public String getExternalTransactionToken()
```

Returns the external transaction token.

### getLaunchMode

```
public int getLaunchMode()
```

Returns the external link launch mode.

### getLinkType

```
public int getLinkType()
```

Returns the type of the external link.

### getLinkUri

```
public Uri getLinkUri()
```

Returns the URI where the content will be accessed from.

### newBuilder

```
public static LaunchExternalLinkParams.Builder newBuilder()
```