diff options
| author | Chris Banes <chrisbanes@google.com> | 2015-08-07 11:13:34 +0100 |
|---|---|---|
| committer | Chris Banes <chrisbanes@google.com> | 2015-08-12 09:45:56 +0100 |
| commit | 490bf528b45f551b10d7a487f9b81cf732880bbb (patch) | |
| tree | 918bf6fe35584a79fe529b7dcebeaa0ed98d50fb /customtabs | |
| parent | 51252b973d4d38400641613548bbcfda30601fb5 (diff) | |
| download | android_frameworks_support-490bf528b45f551b10d7a487f9b81cf732880bbb.tar.gz android_frameworks_support-490bf528b45f551b10d7a487f9b81cf732880bbb.tar.bz2 android_frameworks_support-490bf528b45f551b10d7a487f9b81cf732880bbb.zip | |
Get support lib ready for release
- Fixes gradle build
- Tags v23 APIs
BUG: 23092116
BUG: 23129175
Change-Id: If6e6b60f9e00921694605bd6d87c00a01d9ef39b
Diffstat (limited to 'customtabs')
| -rw-r--r-- | customtabs/api/23.txt | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/customtabs/api/23.txt b/customtabs/api/23.txt new file mode 100644 index 0000000000..0e1745d183 --- /dev/null +++ b/customtabs/api/23.txt @@ -0,0 +1,79 @@ +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 + } + + 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_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_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 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<android.os.Bundle>); + method protected abstract boolean newSession(android.support.customtabs.CustomTabsSessionToken); + method public android.os.IBinder onBind(android.content.Intent); + 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<android.os.Bundle>); + } + + public class CustomTabsSessionToken { + method public android.support.customtabs.CustomTabsCallback getCallback(); + } + +} + |
