# SavedStateReader

Artifact: [androidx.savedstate:savedstate](https://developer.android.com/jetpack/androidx/releases/savedstate) [View Source](https://cs.android.com/search?q=file:androidx/savedstate/SavedStateReader.+class:androidx.savedstate.SavedStateReader) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

*** ** * ** ***


```
value public final class SavedStateReader
```

<br />

*** ** * ** ***

An inline class that encapsulates an opaque `https://developer.android.com/reference/androidx/savedstate/SavedState`, and provides an API for reading the platform specific state.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedState).read(kotlin.Function1)` |   |

## Summary

| ### Public methods |
|---|---|
| `final boolean` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contains(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contains(kotlin.String)`. |
| `final boolean` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contentDeepEquals(android.os.Bundle)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html other)` Checks if the two specified `https://developer.android.com/reference/androidx/savedstate/SavedState` are *deeply* equal to one another. |
| `final int` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contentDeepHashCode()()` Returns a hash code based on the "deep contents" of specified `https://developer.android.com/reference/androidx/savedstate/SavedState`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contentDeepToString()()` Returns a string representation of the contents of this `https://developer.android.com/reference/androidx/savedstate/SavedState` as if it is a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/IBinder.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://developer.android.com/reference/android/os/IBinder.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/android/os/IBinder.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/os/IBinder.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final boolean` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull boolean[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final boolean[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Boolean.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final char` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull char[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final char[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Character.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull CharSequence[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final CharSequence[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final double` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull double[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final double[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Double.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final float` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull float[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final float[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Float.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final int` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull int[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final int[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Integer.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/java/io/Serializable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/java/io/Serializable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> serializableClass )` Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T` | `<T extends https://developer.android.com/reference/java/io/Serializable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T` | `<T extends https://developer.android.com/reference/java/io/Serializable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> serializableClass )` Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final long` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull long[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final long[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/Long.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T[]` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T[]` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T[]` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T[]` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final T` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/androidx/savedstate/SavedState` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull SavedState[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final SavedState[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/androidx/savedstate/SavedState` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/androidx/savedstate/SavedState` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/Size.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/util/Size.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SizeF.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/util/SizeF.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/android/util/SizeF.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/util/SizeF.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/android/util/Size.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/util/Size.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://developer.android.com/reference/android/util/SparseArray.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://developer.android.com/reference/android/util/SparseArray.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/android/os/Parcelable.html> https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass )` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull String[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final String[]` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final boolean` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isEmpty()()` Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` is empty (contains no key-value pairs). |
| `final boolean` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isNull(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key)` Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains a null reference for the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isNull(kotlin.String)`. |
| `final int` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#size()()` Returns the number of key-value pairs in the `https://developer.android.com/reference/androidx/savedstate/SavedState`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/java/lang/Object.html>` | `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#toMap()()` Returns a new `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html` containing all key-value pairs from the `https://developer.android.com/reference/androidx/savedstate/SavedState`. |

| ### Extension functions |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/java/lang/Object.html> https://developer.android.com/reference/androidx/savedstate/SavedStateKt.https://developer.android.com/reference/androidx/savedstate/SavedStateReader#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedStateReader receiver, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration configuration )` Retrieves a `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull T` | `<T extends https://developer.android.com/reference/java/lang/Object.html> https://developer.android.com/reference/androidx/savedstate/SavedStateKt.https://developer.android.com/reference/androidx/savedstate/SavedStateReader#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedStateReader receiver, @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-k-serializer/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> deserializer, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration configuration )` Retrieves a `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key. |

## Public methods

### contains

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean contains(@NonNull String key)
```

Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contains(kotlin.String)`.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contains(kotlin.String)` to check for. |

| Returns |
|---|---|
| `boolean` | `true` if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#contains(kotlin.String)`, `false` otherwise. |

### contentDeepEquals

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean contentDeepEquals(@NonNull Bundle other)
```

Checks if the two specified `https://developer.android.com/reference/androidx/savedstate/SavedState` are *deeply* equal to one another.

Two `https://developer.android.com/reference/androidx/savedstate/SavedState` are considered deeply equal if they have the same size, and elements at corresponding keys are deeply equal. That is, if two corresponding elements are nested `https://developer.android.com/reference/androidx/savedstate/SavedState`, they are also compared deeply.

If any of `https://developer.android.com/reference/androidx/savedstate/SavedState` contains itself on any nesting level the behavior is undefined.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html other` | the object to compare deeply with this. |

| Returns |
|---|---|
| `boolean` | `true` if the two are deeply equal, `false` otherwise. |

### contentDeepHashCode

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final int contentDeepHashCode()
```

Returns a hash code based on the "deep contents" of specified `https://developer.android.com/reference/androidx/savedstate/SavedState`. If the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains other `https://developer.android.com/reference/androidx/savedstate/SavedState` as elements, the hash code is based on their contents and so on.

The computation of the hash code returned is as if the `https://developer.android.com/reference/androidx/savedstate/SavedState` is a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html`. Nested `https://developer.android.com/reference/androidx/savedstate/SavedState` are treated as lists too.

If any of `https://developer.android.com/reference/androidx/savedstate/SavedState` contains itself on any nesting level the behavior is undefined.

| Returns |
|---|---|
| `int` | a deep-content-based hash code for `https://developer.android.com/reference/androidx/savedstate/SavedState`. |

### contentDeepToString

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull String contentDeepToString()
```

Returns a string representation of the contents of this `https://developer.android.com/reference/androidx/savedstate/SavedState` as if it is a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html`. Nested `https://developer.android.com/reference/androidx/savedstate/SavedState` are treated as lists too.

If any of `https://developer.android.com/reference/androidx/savedstate/SavedState` contains itself on any nesting level that reference is rendered as `"[...]"` to prevent recursion.

### getBinder

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull IBinder getBinder(@NonNull String key)
```

Retrieves an `https://developer.android.com/reference/android/os/IBinder.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/IBinder.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinder(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getBinderOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final IBinder getBinderOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/os/IBinder.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/os/IBinder.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBinderOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getBoolean

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean getBoolean(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `boolean` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBoolean(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getBooleanArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull boolean[] getBooleanArray(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull boolean[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getBooleanArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean[] getBooleanArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `boolean[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getBooleanOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Boolean getBooleanOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Boolean.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getBooleanOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getChar

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final char getChar(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `char` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getChar(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getCharArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull char[] getCharArray(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull char[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getCharArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final char[] getCharArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `char[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getCharOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Character getCharOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Character.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getCharSequence

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull CharSequence getCharSequence(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequence(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getCharSequenceArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull CharSequence[] getCharSequenceArray(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull CharSequence[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getCharSequenceArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final CharSequence[] getCharSequenceArrayOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `CharSequence[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getCharSequenceList

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull List<@NonNull CharSequence> getCharSequenceList(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceList(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getCharSequenceListOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final List<@NonNull CharSequence> getCharSequenceListOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceListOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getCharSequenceOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final CharSequence getCharSequenceOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/CharSequence.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getCharSequenceOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getDouble

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final double getDouble(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `double` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDouble(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getDoubleArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull double[] getDoubleArray(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull double[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getDoubleArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final double[] getDoubleArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `double[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getDoubleOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Double getDoubleOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Double.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getDoubleOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getFloat

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final float getFloat(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `float` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloat(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getFloatArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull float[] getFloatArray(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull float[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getFloatArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final float[] getFloatArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `float[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getFloatOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Float getFloatOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Float.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getFloatOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getInt

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final int getInt(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `int` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getInt(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getIntArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull int[] getIntArray(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull int[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getIntArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final int[] getIntArrayOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `int[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getIntList

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull List<@NonNull Integer> getIntList(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntList(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getIntListOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final List<@NonNull Integer> getIntListOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntListOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getIntOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Integer getIntOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Integer.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getIntOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getJavaSerializable

```
public final @NonNull T <T extends Serializable> getJavaSerializable(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/java/io/Serializable.html>` | The expected type of the value. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getJavaSerializable

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull T <T extends Serializable> getJavaSerializable(
    @NonNull String key,
    @NonNull KClass<@NonNull T> serializableClass
)
```

Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> serializableClass` | The expected type of the value. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializable(kotlin.String,kotlin.reflect.KClass)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getJavaSerializableOrNull

```
public final T <T extends Serializable> getJavaSerializableOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/java/io/Serializable.html>` | The expected type of the value. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getJavaSerializableOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final T <T extends Serializable> getJavaSerializableOrNull(
    @NonNull String key,
    @NonNull KClass<@NonNull T> serializableClass
)
```

Retrieves a `https://developer.android.com/reference/java/io/Serializable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> serializableClass` | The expected type of the value. |

| Returns |
|---|---|
| `T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getJavaSerializableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if no valid value is found. |

### getLong

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final long getLong(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `long` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLong(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getLongArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull long[] getLongArray(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull long[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getLongArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final long[] getLongArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `long[]` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getLongOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Long getLongOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

**Note:** This method returns a nullable primitive, causing auto-boxing on JVM targets.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Long.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getLongOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getParcelable

```
public final @NonNull T <T extends Parcelable> getParcelable(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the value. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelable

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull T <T extends Parcelable> getParcelable(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the value. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelable(kotlin.String,kotlin.reflect.KClass)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelableArray

```
public final @NonNull T[] <T extends Parcelable> getParcelableArray(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelableArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull T[] <T extends Parcelable> getParcelableArray(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArray(kotlin.String,kotlin.reflect.KClass)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelableArrayOrNull

```
public final T[] <T extends Parcelable> getParcelableArrayOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `T[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getParcelableArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final T[] <T extends Parcelable> getParcelableArrayOrNull(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `T[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if no valid value is found. |

### getParcelableList

```
public final @NonNull List<@NonNull T> <T extends Parcelable> getParcelableList(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelableList

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull List<@NonNull T> <T extends Parcelable> getParcelableList(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableList(kotlin.String,kotlin.reflect.KClass)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getParcelableListOrNull

```
public final List<@NonNull T> <T extends Parcelable> getParcelableListOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getParcelableListOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final List<@NonNull T> <T extends Parcelable> getParcelableListOrNull(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableListOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if no valid value is found. |

### getParcelableOrNull

```
public final T <T extends Parcelable> getParcelableOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the value. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getParcelableOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final T <T extends Parcelable> getParcelableOrNull(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://developer.android.com/reference/android/os/Parcelable.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the value. |

| Returns |
|---|---|
| `T` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getParcelableOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if no valid value is found. |

### getSavedState

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull SavedState getSavedState(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/androidx/savedstate/SavedState` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedState(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSavedStateArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull SavedState[] getSavedStateArray(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull SavedState[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSavedStateArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final SavedState[] getSavedStateArrayOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `SavedState[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSavedStateList

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull List<@NonNull SavedState> getSavedStateList(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateList(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSavedStateListOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final List<@NonNull SavedState> getSavedStateListOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://developer.android.com/reference/androidx/savedstate/SavedState` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/SavedState>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateListOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSavedStateOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final SavedState getSavedStateOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/androidx/savedstate/SavedState` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/savedstate/SavedState` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSavedStateOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSize

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull Size getSize(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/util/Size.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/Size.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSize(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSizeF

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull SizeF getSizeF(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/util/SizeF.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SizeF.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeF(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSizeFOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final SizeF getSizeFOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/util/SizeF.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/util/SizeF.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeFOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSizeOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final Size getSizeOrNull(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/util/Size.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/util/Size.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSizeOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSparseParcelableArray

```
public final @NonNull SparseArray<@NonNull T> <T extends Parcelable> getSparseParcelableArray(@NonNull String key)
```

Retrieves a `https://developer.android.com/reference/android/util/SparseArray.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSparseParcelableArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull SparseArray<@NonNull T> <T extends Parcelable> getSparseParcelableArray(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://developer.android.com/reference/android/util/SparseArray.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArray(kotlin.String,kotlin.reflect.KClass)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getSparseParcelableArrayOrNull

```
public final SparseArray<@NonNull T> <T extends Parcelable> getSparseParcelableArrayOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/android/os/Parcelable.html>` | The expected type of the values. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getSparseParcelableArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final SparseArray<@NonNull T> <T extends Parcelable> getSparseParcelableArrayOrNull(
    @NonNull String key,
    @NonNull KClass<@NonNull T> parcelableClass
)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://developer.android.com/reference/android/os/Parcelable.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)` to retrieve the values for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> parcelableClass` | The expected type of the values. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getSparseParcelableArrayOrNull(kotlin.String,kotlin.reflect.KClass)`, or `null` if no valid value is found. |

### getString

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull String getString(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getString(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getStringArray

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull String[] getStringArray(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull String[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArray(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getStringArrayOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final String[] getStringArrayOrNull(@NonNull String key)
```

Retrieves an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `String[]` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringArrayOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getStringList

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull List<@NonNull String> getStringList(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)` to retrieve the values for. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringList(kotlin.String)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if associated value has wrong type. |

### getStringListOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final List<@NonNull String> getStringListOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html` of `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` values associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | The values associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringListOrNull(kotlin.String)`, or `null` if no valid value is found. |

### getStringOrNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final String getStringOrNull(@NonNull String key)
```

Retrieves a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)`, or `null` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)` if the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)` to retrieve the value for. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | The value associated with the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#getStringOrNull(kotlin.String)`, or `null` if no valid value is found. |

### isEmpty

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean isEmpty()
```

Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` is empty (contains no key-value pairs).

| Returns |
|---|---|
| `boolean` | `true` if the `https://developer.android.com/reference/androidx/savedstate/SavedState` is empty, `false` otherwise. |

### isNull

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final boolean isNull(@NonNull String key)
```

Checks if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains a null reference for the specified `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isNull(kotlin.String)`.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isNull(kotlin.String)` to check for. |

| Returns |
|---|---|
| `boolean` | `true` if the `https://developer.android.com/reference/androidx/savedstate/SavedState` contains a null reference for the `https://developer.android.com/reference/androidx/savedstate/SavedStateReader#isNull(kotlin.String)`, `false` otherwise. |

### size

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final int size()
```

Returns the number of key-value pairs in the `https://developer.android.com/reference/androidx/savedstate/SavedState`.

| Returns |
|---|---|
| `int` | The size of the `https://developer.android.com/reference/androidx/savedstate/SavedState`. |

### toMap

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0)

```
public final @NonNull Map<@NonNull String, Object> toMap()
```

Returns a new `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html` containing all key-value pairs from the `https://developer.android.com/reference/androidx/savedstate/SavedState`.

The returned `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html` does not preserve the entry iteration order of the `https://developer.android.com/reference/androidx/savedstate/SavedState`.

**IMPORTANT:** All values will be copied by reference, and values within the `https://developer.android.com/reference/androidx/savedstate/SavedState` that are also a `https://developer.android.com/reference/androidx/savedstate/SavedState` will **NOT** be converted to a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html`.

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/java/lang/Object.html>` | A `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html` containing all key-value pairs from the `https://developer.android.com/reference/androidx/savedstate/SavedState`. |

## Extension functions

### SavedStateKt.getKotlinSerializable

Artifact: [androidx.savedstate:savedstate](https://developer.android.com/jetpack/androidx/releases/savedstate) [View Source](https://cs.android.com/search?q=file:androidx/savedstate/SavedState.kt+function:getKotlinSerializable)

```
public final @NonNull T <T extends Object> SavedStateKt.getKotlinSerializable(
    @NonNull SavedStateReader receiver,
    @NonNull String key,
    @NonNull SavedStateConfiguration configuration
)
```

Retrieves a `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` if the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration configuration` | The `https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration` to use for the decoding process. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value has wrong type. |

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/savedstate/serialization/package-summary#decodeFromSavedState(androidx.savedstate.SavedState,androidx.savedstate.serialization.SavedStateConfiguration)` |   |

### SavedStateKt.getKotlinSerializable

Artifact: [androidx.savedstate:savedstate](https://developer.android.com/jetpack/androidx/releases/savedstate) [View Source](https://cs.android.com/search?q=file:androidx/savedstate/SavedState.kt+function:getKotlinSerializable)

```
public final @NonNull T <T extends Object> SavedStateKt.getKotlinSerializable(
    @NonNull SavedStateReader receiver,
    @NonNull KSerializer<@NonNull T> deserializer,
    @NonNull String key,
    @NonNull SavedStateConfiguration configuration
)
```

Retrieves a `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the specified `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`, or throws an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if this `https://developer.android.com/reference/androidx/savedstate/SavedState` does not contain a valid value for the key.

More specifically, a `https://developer.android.com/reference/androidx/savedstate/SavedState` is considered to contain a valid value for a `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` if the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` exists, the associated value is not `null`, and it is of the expected type.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-k-serializer/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull T> deserializer` | The `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-k-serializer/index.html` used to decode the value. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html key` | The `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` to retrieve the value for. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration configuration` | The `https://developer.android.com/reference/androidx/savedstate/serialization/SavedStateConfiguration` to use for the decoding process. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | The `https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serializable/index.html` value associated with the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)`. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If the `https://developer.android.com/reference/androidx/savedstate/package-summary#(androidx.savedstate.SavedStateReader).getKotlinSerializable(kotlinx.serialization.KSerializer,kotlin.String,androidx.savedstate.serialization.SavedStateConfiguration)` is not found. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value is `null`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If associated value has wrong type. |

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/savedstate/serialization/package-summary#decodeFromSavedState(androidx.savedstate.SavedState,androidx.savedstate.serialization.SavedStateConfiguration)` |   |