current.txt revision ee8b0611c54393060684c7cb6f8315b6365bb4b1
1package android.support.customtabs { 2 3 public class CustomTabsCallback { 4 ctor public CustomTabsCallback(); 5 method public void onNavigationEvent(int, android.os.Bundle); 6 field public static final int NAVIGATION_FINISHED = 2; // 0x2 7 field public static final int NAVIGATION_STARTED = 1; // 0x1 8 } 9 10 public class CustomTabsClient { 11 method public static boolean bindCustomTabsService(android.content.Context, java.lang.String, android.support.customtabs.CustomTabsServiceConnection); 12 method public android.support.customtabs.CustomTabsSession newSession(android.support.customtabs.CustomTabsCallback); 13 method public boolean warmup(long); 14 } 15 16 public class CustomTabsIntent { 17 ctor public CustomTabsIntent(); 18 method public static android.content.Intent getViewIntentWithNoSession(java.lang.String, android.net.Uri); 19 field public static final java.lang.String EXTRA_ACTION_BUTTON_BUNDLE = "android.support.customtabs.extra.ACTION_BUTTON_BUNDLE"; 20 field public static final java.lang.String EXTRA_EXIT_ANIMATION_BUNDLE = "android.support.customtabs.extra.EXIT_ANIMATION_BUNDLE"; 21 field public static final java.lang.String EXTRA_MENU_ITEMS = "android.support.customtabs.extra.MENU_ITEMS"; 22 field public static final java.lang.String EXTRA_SESSION = "android.support.customtabs.extra.SESSION"; 23 field public static final java.lang.String EXTRA_TOOLBAR_COLOR = "android.support.customtabs.extra.TOOLBAR_COLOR"; 24 field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON"; 25 field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE"; 26 field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT"; 27 } 28 29 public abstract class CustomTabsService extends android.app.Service { 30 ctor public CustomTabsService(); 31 method protected boolean cleanUpSession(android.support.customtabs.CustomTabsSessionToken); 32 method protected abstract boolean mayLaunchUrl(android.support.customtabs.CustomTabsSessionToken, android.net.Uri, android.os.Bundle, java.util.List<android.os.Bundle>); 33 method protected abstract boolean newSession(android.support.customtabs.CustomTabsSessionToken); 34 method public android.os.IBinder onBind(android.content.Intent); 35 method protected abstract boolean warmup(long); 36 field public static final java.lang.String ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService"; 37 field public static final java.lang.String KEY_URL = "android.support.customtabs.otherurls.URL"; 38 } 39 40 public abstract class CustomTabsServiceConnection implements android.content.ServiceConnection { 41 ctor public CustomTabsServiceConnection(); 42 method public abstract void onCustomTabsServiceConnected(android.content.ComponentName, android.support.customtabs.CustomTabsClient); 43 method public final void onServiceConnected(android.content.ComponentName, android.os.IBinder); 44 } 45 46 public class CustomTabsSession { 47 method public android.content.Intent getViewIntent(android.net.Uri); 48 method public boolean mayLaunchUrl(android.net.Uri, android.os.Bundle, java.util.List<android.os.Bundle>); 49 } 50 51 public class CustomTabsSessionToken { 52 method public android.support.customtabs.CustomTabsCallback getCallback(); 53 } 54 55} 56 57