IntentCompat

public final class IntentCompat
extends Object

java.lang.Object
   ↳ androidx.core.content.IntentCompat


Helper for accessing features in Intent.

Summary

Constants

String ACTION_CREATE_REMINDER

Activity Action: Creates a reminder.

String CATEGORY_LEANBACK_LAUNCHER

Indicates an activity optimized for Leanback mode, and that should be displayed in the Leanback launcher.

String EXTRA_HTML_TEXT

A constant String that is associated with the Intent, used with Intent.ACTION_SEND to supply an alternative to Intent.EXTRA_TEXT as HTML formatted text.

String EXTRA_START_PLAYBACK

Used as a boolean extra field in Intent.ACTION_VIEW intents to indicate that content should immediately be played without any intermediate screens that require additional user input, e.g.

String EXTRA_TIME

Optional extra specifying a time in milliseconds since the Epoch.

Public methods

static Intent createManageUnusedAppRestrictionsIntent(Context context, String packageName)

Make an Intent to redirect the user to UI to manage their unused app restriction settings for a particular app (e.g.

static Intent makeMainSelectorActivity(String selectorAction, String selectorCategory)

Make an Intent for the main activity of an application, without specifying a specific activity to run but giving a selector to find the activity.

Inherited methods

Constants

ACTION_CREATE_REMINDER