O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

IntentSenderRequest.Builder

public static final class IntentSenderRequest.Builder
extends Object

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


A builder for constructing IntentSenderRequest instances.

Summary

Public constructors

Builder(IntentSender intentSender)

Constructor that takes an IntentSender and sets it for the builder.

Builder(PendingIntent pendingIntent)

Convenience constructor that takes an PendingIntent and uses its IntentSender.

Public methods

IntentSenderRequest build()

Build the IntentSenderRequest specified by this builder.

IntentSenderRequest.Builder setFillInIntent(Intent fillInIntent)

Set the intent for the IntentSenderRequest.

IntentSenderRequest.Builder setFlags(int values, int mask)

Set the flag mask and flag values for the IntentSenderRequest.

Inherited methods

Public constructors

Builder

public Builder (IntentSender intentSender)

Constructor that takes an IntentSender and sets it for the builder.

Parameters
intentSender IntentSender: IntentSender to go in the IntentSenderRequest.

Builder

public Builder (PendingIntent pendingIntent)

Convenience constructor that takes an PendingIntent and uses its IntentSender.

Parameters
pendingIntent PendingIntent: the pendingIntent containing with the intentSender to go in the IntentSenderRequest.

Public methods

build

public IntentSenderRequest build ()

Build the IntentSenderRequest specified by this builder.

Returns
IntentSenderRequest the newly constructed IntentSenderRequest.

setFillInIntent

public IntentSenderRequest.Builder setFillInIntent (Intent fillInIntent)

Set the intent for the IntentSenderRequest.

Parameters
fillInIntent Intent: intent to go in the IntentSenderRequest. If non-null, this will be provided as the intent parameter to IntentSender#sendIntent.

Returns
IntentSenderRequest.Builder This builder.

setFlags

public IntentSenderRequest.Builder setFlags (int values, 
                int mask)

Set the flag mask and flag values for the IntentSenderRequest.

Parameters
values int: flagValues to go in the IntentSenderRequest. Desired values for any bits set in flagsMask

mask int: mask to go in the IntentSenderRequest. Intent flags in the original IntentSender that you would like to change.

Returns
IntentSenderRequest.Builder This builder.