package android.support.customtabs { public class CustomTabsCallback { ctor public CustomTabsCallback(); method public void extraCallback(java.lang.String, android.os.Bundle); method public void onNavigationEvent(int, android.os.Bundle); field public static final int NAVIGATION_ABORTED = 4; // 0x4 field public static final int NAVIGATION_FAILED = 3; // 0x3 field public static final int NAVIGATION_FINISHED = 2; // 0x2 field public static final int NAVIGATION_STARTED = 1; // 0x1 field public static final int TAB_HIDDEN = 6; // 0x6 field public static final int TAB_SHOWN = 5; // 0x5 } public class CustomTabsClient { method public static boolean bindCustomTabsService(android.content.Context, java.lang.String, android.support.customtabs.CustomTabsServiceConnection); method public android.os.Bundle extraCommand(java.lang.String, android.os.Bundle); method public android.support.customtabs.CustomTabsSession newSession(android.support.customtabs.CustomTabsCallback); method public boolean warmup(long); } public final class CustomTabsIntent { method public void launchUrl(android.app.Activity, android.net.Uri); field public static final java.lang.String EXTRA_ACTION_BUTTON_BUNDLE = "android.support.customtabs.extra.ACTION_BUTTON_BUNDLE"; field public static final java.lang.String EXTRA_CLOSE_BUTTON_ICON = "android.support.customtabs.extra.CLOSE_BUTTON_ICON"; field public static final java.lang.String EXTRA_ENABLE_URLBAR_HIDING = "android.support.customtabs.extra.ENABLE_URLBAR_HIDING"; field public static final java.lang.String EXTRA_EXIT_ANIMATION_BUNDLE = "android.support.customtabs.extra.EXIT_ANIMATION_BUNDLE"; field public static final java.lang.String EXTRA_MENU_ITEMS = "android.support.customtabs.extra.MENU_ITEMS"; field public static final java.lang.String EXTRA_SESSION = "android.support.customtabs.extra.SESSION"; field public static final java.lang.String EXTRA_TINT_ACTION_BUTTON = "android.support.customtabs.extra.TINT_ACTION_BUTTON"; field public static final java.lang.String EXTRA_TITLE_VISIBILITY_STATE = "android.support.customtabs.extra.TITLE_VISIBILITY"; field public static final java.lang.String EXTRA_TOOLBAR_COLOR = "android.support.customtabs.extra.TOOLBAR_COLOR"; field public static final java.lang.String KEY_DESCRIPTION = "android.support.customtabs.customaction.DESCRIPTION"; field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON"; field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE"; field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT"; field public static final int NO_TITLE = 0; // 0x0 field public static final int SHOW_PAGE_TITLE = 1; // 0x1 field public final android.content.Intent intent; field public final android.os.Bundle startAnimationBundle; } public static final class CustomTabsIntent.Builder { ctor public CustomTabsIntent.Builder(); ctor public CustomTabsIntent.Builder(android.support.customtabs.CustomTabsSession); method public android.support.customtabs.CustomTabsIntent.Builder addMenuItem(java.lang.String, android.app.PendingIntent); method public android.support.customtabs.CustomTabsIntent build(); method public android.support.customtabs.CustomTabsIntent.Builder enableUrlBarHiding(); method public android.support.customtabs.CustomTabsIntent.Builder setActionButton(android.graphics.Bitmap, java.lang.String, android.app.PendingIntent, boolean); method public android.support.customtabs.CustomTabsIntent.Builder setActionButton(android.graphics.Bitmap, java.lang.String, android.app.PendingIntent); method public android.support.customtabs.CustomTabsIntent.Builder setCloseButtonIcon(android.graphics.Bitmap); method public android.support.customtabs.CustomTabsIntent.Builder setExitAnimations(android.content.Context, int, int); method public android.support.customtabs.CustomTabsIntent.Builder setShowTitle(boolean); method public android.support.customtabs.CustomTabsIntent.Builder setStartAnimations(android.content.Context, int, int); method public android.support.customtabs.CustomTabsIntent.Builder setToolbarColor(int); } public abstract class CustomTabsService extends android.app.Service { ctor public CustomTabsService(); method protected boolean cleanUpSession(android.support.customtabs.CustomTabsSessionToken); method protected abstract android.os.Bundle extraCommand(java.lang.String, android.os.Bundle); method protected abstract boolean mayLaunchUrl(android.support.customtabs.CustomTabsSessionToken, android.net.Uri, android.os.Bundle, java.util.List); method protected abstract boolean newSession(android.support.customtabs.CustomTabsSessionToken); method public android.os.IBinder onBind(android.content.Intent); method protected abstract boolean updateVisuals(android.support.customtabs.CustomTabsSessionToken, android.os.Bundle); method protected abstract boolean warmup(long); field public static final java.lang.String ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService"; field public static final java.lang.String KEY_URL = "android.support.customtabs.otherurls.URL"; } public abstract class CustomTabsServiceConnection implements android.content.ServiceConnection { ctor public CustomTabsServiceConnection(); method public abstract void onCustomTabsServiceConnected(android.content.ComponentName, android.support.customtabs.CustomTabsClient); method public final void onServiceConnected(android.content.ComponentName, android.os.IBinder); } public final class CustomTabsSession { method public boolean mayLaunchUrl(android.net.Uri, android.os.Bundle, java.util.List); method public boolean setActionButton(android.graphics.Bitmap, java.lang.String); } public class CustomTabsSessionToken { method public android.support.customtabs.CustomTabsCallback getCallback(); method public static android.support.customtabs.CustomTabsSessionToken getSessionTokenFromIntent(android.content.Intent); } }