Google is committed to advancing racial equity for Black communities. See how.

SynchronousResult

class SynchronousResult<T : Any!>
kotlin.Any
   ↳ androidx.activity.result.contract.ActivityResultContract.SynchronousResult

The wrapper for a result provided in getSynchronousResult

Summary

Public constructors
<init>(value: T)

Create a new result wrapper

Public methods
T

Public constructors

<init>

SynchronousResult(value: T)

Create a new result wrapper

Parameters
value T: the result value

Public methods

getValue

fun getValue(): T
Return
T the result value