ActivityResultContract.SynchronousResult

public final class ActivityResultContract.SynchronousResult<T extends Object>


The wrapper for a result provided in getSynchronousResult. This allows differentiating between a null T synchronous result and no synchronous result at all.

Summary

Public fields

final @NonNull T

Public constructors

<T extends Object> SynchronousResult(@NonNull T value)

Public fields

value

@NonNull
public final @NonNullvalue

Public constructors

SynchronousResult

public final <T extends Object> SynchronousResult(@NonNull T value)