# KeyedPdfObject

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/KeyedPdfObject.kt+class:androidx.pdf.annotation.content.KeyedPdfObject) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
class KeyedPdfObject
```

<br />

*** ** * ** ***

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

## Summary

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

| ### 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/KeyedPdfObject#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/KeyedPdfObject#hashCode()()` |

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

## Public constructors

### KeyedPdfObject

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

```
KeyedPdfObject(key: String, pdfObject: PdfObject)
```

## Public functions

### equals

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

### hashCode

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

## Public properties

### 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 object.

### pdfObject

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

```
val pdfObject: PdfObject
```

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