# KeyedPdfAnnotation

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

*** ** * ** ***


```
class KeyedPdfAnnotation
```

<br />

*** ** * ** ***

Associates a `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PdfAnnotation` with a unique key.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/KeyedPdfAnnotation#KeyedPdfAnnotation(kotlin.String,androidx.pdf.annotation.content.PdfAnnotation)(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, annotation: https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PdfAnnotation)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/KeyedPdfAnnotation#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/KeyedPdfAnnotation#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PdfAnnotation` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/KeyedPdfAnnotation#annotation()` The `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PdfAnnotation` object. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/KeyedPdfAnnotation#key()` The unique string identifier for the annotation. |

## Public constructors

### KeyedPdfAnnotation

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

```
KeyedPdfAnnotation(key: String, annotation: PdfAnnotation)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### annotation

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

```
val annotation: PdfAnnotation
```

The `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PdfAnnotation` object.

### key

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

```
val key: String
```

The unique string identifier for the annotation.