ActivityResultContract.SynchronousResult

public final class ActivityResultContract.SynchronousResult<T>


The wrapper for a result provided in getSynchronousResult

Parameters
<T>

type of the result

Summary

Public constructors

Create a new result wrapper

Public methods

@NonNull T

Public constructors

SynchronousResult

public SynchronousResult(@NonNull T value)

Create a new result wrapper

Parameters
@NonNull T value

the result value

Public methods

getValue

@NonNull
public T getValue()
Returns
T

the result value