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

IntentSenderRequest

class IntentSenderRequest : Parcelable
kotlin.Any
   ↳ androidx.activity.result.IntentSenderRequest

A request for a androidx.activity.result.contract.ActivityResultContracts.StartIntentSenderForResult Activity Contract.

Summary

Nested classes

A builder for constructing IntentSenderRequest instances.

Public methods

Int

Intent?

Get the intent from this IntentSender request.

Int

Get the flag mask from this IntentSender request.

Int

Get the flag values from this IntentSender request.

IntentSender

Get the intentSender from this IntentSenderRequest.

Unit
writeToParcel(@NonNull dest: Parcel, flags: Int)

Properties

static Creator<IntentSenderRequest!>

Public methods

describeContents

fun describeContents(): Int

getFillInIntent

@Nullable fun getFillInIntent(): Intent?

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

Return
Intent? the fill in intent.

getFlagsMask

fun getFlagsMask(): Int

Get the flag mask from this IntentSender request.

Return
Int intent flags in the original IntentSender that you would like to change.

getFlagsValues

fun getFlagsValues(): Int

Get the flag values from this IntentSender request.

Return
Int desired values for any bits set in flagsMask

getIntentSender

@NonNull fun getIntentSender(): IntentSender

Get the intentSender from this IntentSenderRequest.

Return
IntentSender the IntentSender to launch.

writeToParcel

fun writeToParcel(
    @NonNull dest: Parcel,
    flags: Int
): Unit

Properties

CREATOR

@NonNull static val CREATOR: Creator<IntentSenderRequest!>