CallerIdentity

class CallerIdentity(val packageName: String, val label: String, val icon: Drawable?)

The app that launched a consent activity, as the screen shows it.

Android reports the calling package only for an activity started for a result, which is why of answers null otherwise and a consent activity refuses to run: a grant recorded for a caller it cannot name would be a grant for whoever asked next.

Constructors

Link copied to clipboard
constructor(packageName: String, label: String, icon: Drawable?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard