Skip to content
Commitwise
Menu

PendingIntent

A token that lets the system or another app perform an intent later on your app's behalf, for example when a notification is tapped.

Definition

The receiver acts with your app's identity, so PendingIntents should be immutable (FLAG_IMMUTABLE) and wrap explicit intents. Mutable PendingIntents let the holder fill in details, which is only needed for a few cases like inline replies.

In practice

A notification for order 42 carries an immutable PendingIntent that opens OrderActivity with that order's id.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.