androidappPendingIntent
PendingIntent is a token that you give to a foreign application, which allows the foreign application to execute a piece of your application's code at a later time, whether or not your application is still running. The most common use case for a PendingIntent is to grant another application permission to perform an action on behalf of your application, such as sending a notification, starting a service, or delivering a broadcast.
When you create a PendingIntent, you specify the intent that the foreign application will execute, as well
PendingIntents are frequently used with features like alarms, widgets, and notifications. For instance, when an alarm