belongs to Maven artifact com.android.support:customtabs:28.0.0-alpha1
CustomTabsIntent
public
final
class
CustomTabsIntent
extends Object
java.lang.Object | |
↳ | android.support.customtabs.CustomTabsIntent |
Class holding the Intent
and start bundle for a Custom Tabs Activity.
Note: The constants below are public for the browser implementation's benefit.
You are strongly encouraged to use CustomTabsIntent.Builder
.
Summary
Nested classes | |
---|---|
class |
CustomTabsIntent.Builder
Builder class for |
Constants | |
---|---|
String |
EXTRA_ACTION_BUTTON_BUNDLE
Bundle used for adding a custom action button to the custom tab toolbar. |
String |
EXTRA_CLOSE_BUTTON_ICON
Extra bitmap that specifies the icon of the back button on the toolbar. |
String |
EXTRA_DEFAULT_SHARE_MENU_ITEM
Boolean extra that specifies whether a default share button will be shown in the menu. |
String |
EXTRA_ENABLE_INSTANT_APPS
Extra that specifies whether Instant Apps is enabled. |
String |
EXTRA_ENABLE_URLBAR_HIDING
Boolean extra that enables the url bar to hide as the user scrolls down the page |
String |
EXTRA_EXIT_ANIMATION_BUNDLE
Bundle constructed out of |
String |
EXTRA_MENU_ITEMS
Use an |
String |
EXTRA_REMOTEVIEWS
Extra that specifies the |
String |
EXTRA_REMOTEVIEWS_CLICKED_ID
Extra that specifies which |
String |
EXTRA_REMOTEVIEWS_PENDINGINTENT
Extra that specifies the |
String |
EXTRA_REMOTEVIEWS_VIEW_IDS
Extra that specifies an array of |
String |
EXTRA_SECONDARY_TOOLBAR_COLOR
Extra that changes the background color for the secondary toolbar. |
String |
EXTRA_SESSION
Extra used to match the session. |
String |
EXTRA_TINT_ACTION_BUTTON
Extra boolean that specifies whether the custom action button should be tinted. |
String |
EXTRA_TITLE_VISIBILITY_STATE
Extra (int) that specifies state for showing the page title. |
String |
EXTRA_TOOLBAR_COLOR
Extra that changes the background color for the toolbar. |
String |
EXTRA_TOOLBAR_ITEMS
List |
String |
KEY_DESCRIPTION
Key that specifies the content description for the custom action button. |
String |
KEY_ICON
Key that specifies the |
String |
KEY_ID
Key that specifies the unique ID for an action button. |
String |
KEY_MENU_ITEM_TITLE
Key for specifying the title of a menu item. |
String |
KEY_PENDING_INTENT
Key that specifies the PendingIntent to launch when the action button or menu item was clicked. |
int |
NO_TITLE
Don't show any title. |
int |
SHOW_PAGE_TITLE
Shows the page title and the domain. |
int |
TOOLBAR_ |