ActivityResult

public final class ActivityResult


A container for an activity result as obtained from onActivityResult

See also
onActivityResult

Summary

Constants

static final @NonNull Parcelable.Creator<ActivityResult>

Public constructors

ActivityResult(int resultCode, @Nullable Intent data)

Create a new instance

Public methods

@Override int
@Nullable Intent
int
static @NonNull String
resultCodeToString(int resultCode)

A readable representation of standard activity result codes

@Override String
@Override void
writeToParcel(@NonNull Parcel dest, int flags)

Extension functions

final int

Destructuring declaration for ActivityResult to provide the requestCode

final Intent

Destructuring declaration for ActivityResult to provide the intent

Constants

CREATOR

public static final @NonNull Parcelable.Creator<ActivityResultCREATOR