public final class

ActivityResultContract.SynchronousResult<T>

extends java.lang.Object

 java.lang.Object

↳androidx.activity.result.contract.ActivityResultContract.SynchronousResult<T>

Overview

The wrapper for a result provided in ActivityResultContract.getSynchronousResult(Context, I)

Summary

Constructors
publicSynchronousResult(java.lang.Object value)

Create a new result wrapper

Methods
public java.lang.ObjectgetValue()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SynchronousResult(java.lang.Object value)

Create a new result wrapper

Parameters:

value: the result value

Methods

public java.lang.Object getValue()

Returns:

the result value