Join us for ⁠#Android11: The Beta Launch Show on June 3!

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