Google is committed to advancing racial equity for Black communities. See how.

IntentSenderRequest

public final class IntentSenderRequest
extends Object implements Parcelable

java.lang.Object
   ↳ androidx.activity.result.IntentSenderRequest


A request for a ActivityResultContracts.StartIntentSenderForResult Activity Contract.

Summary

Nested classes

class IntentSenderRequest.Builder

A builder for constructing IntentSenderRequest instances. 

Inherited constants

Fields

public static final Creator<IntentSenderRequest> CREATOR

Public methods

int describeContents()
Intent getFillInIntent()

Get the intent from this IntentSender request.

int getFlagsMask()

Get the flag mask from this IntentSender request.

int getFlagsValues()

Get the flag values from this IntentSender request.

IntentSender getIntentSender()

Get the intentSender from this IntentSenderRequest.

void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

public static final Creator<IntentSenderRequest> CREATOR

Public methods

describeContents

public int describeContents ()

Returns
int

getFillInIntent

public Intent getFillInIntent ()

Get the intent from this IntentSender request. If non-null, this will be provided as the intent parameter to IntentSender#sendIntent.

Returns
Intent the fill in intent.

getFlagsMask

public int getFlagsMask ()

Get the flag mask from this IntentSender request.

Returns
int intent flags in the original IntentSender that you would like to change.

getFlagsValues

public int getFlagsValues ()

Get the flag values from this IntentSender request.

Returns
int desired values for any bits set in flagsMask

getIntentSender

public IntentSender getIntentSender ()

Get the intentSender from this IntentSenderRequest.

Returns
IntentSender the IntentSender to launch.

writeToParcel

public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int