IntentSpec
class IntentSpec
Builds one launch Intent of a shortcut.
action defaults to Intent.ACTION_VIEW because the system requires every shortcut intent to carry an action. Prefer an explicit target activity over implicit resolution so the shortcut cannot be intercepted by other apps.
Properties
Link copied to clipboard
Intent action. Defaults to Intent.ACTION_VIEW; must not end up null.
Link copied to clipboard
MIME type. Setting it does not clear data (unlike Intent.setType).