# ExternalLink

Artifact: [androidx.pdf:pdf-core](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/content/ExternalLink.kt+class:androidx.pdf.content.ExternalLink) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
public final class ExternalLink
```

<br />

*** ** * ** ***

Represents an external link on a page of the PDF document. External links typically point to web URLs or other resources that are meant to be handled by external applications (e.g., browsers).

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/pdf/content/ExternalLink#ExternalLink(android.net.Uri)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/net/Uri.html uri)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/pdf/content/ExternalLink#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/net/Uri.html` | `https://developer.android.com/reference/androidx/pdf/content/ExternalLink#getUri()()` The `https://developer.android.com/reference/android/net/Uri.html` extracted from the PDF document, representing the destination of the external link. |
| `int` | `https://developer.android.com/reference/androidx/pdf/content/ExternalLink#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/pdf/content/ExternalLink#toString()()` |

## Public constructors

### ExternalLink

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public ExternalLink(@NonNull Uri uri)
```

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/net/Uri.html uri` | The `https://developer.android.com/reference/android/net/Uri.html` extracted from the PDF document, representing the destination of the external link. |

## Public methods

### equals

```
public boolean equals(Object other)
```

### getUri

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final @NonNull Uri getUri()
```

The `https://developer.android.com/reference/android/net/Uri.html` extracted from the PDF document, representing the destination of the external link.

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```