1package android.support.v7.app {
2
3  public abstract class ActionBar {
4    ctor public ActionBar();
5    method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener);
6    method public abstract void addTab(android.support.v7.app.ActionBar.Tab);
7    method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean);
8    method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int);
9    method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean);
10    method public boolean collapseActionView();
11    method public void dispatchMenuVisibilityChanged(boolean);
12    method public abstract android.view.View getCustomView();
13    method public abstract int getDisplayOptions();
14    method public float getElevation();
15    method public abstract int getHeight();
16    method public int getHideOffset();
17    method public abstract int getNavigationItemCount();
18    method public abstract int getNavigationMode();
19    method public abstract int getSelectedNavigationIndex();
20    method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab();
21    method public abstract java.lang.CharSequence getSubtitle();
22    method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int);
23    method public abstract int getTabCount();
24    method public android.content.Context getThemedContext();
25    method public abstract java.lang.CharSequence getTitle();
26    method public abstract void hide();
27    method public boolean invalidateOptionsMenu();
28    method public boolean isHideOnContentScrollEnabled();
29    method public abstract boolean isShowing();
30    method public boolean isTitleTruncated();
31    method public abstract android.support.v7.app.ActionBar.Tab newTab();
32    method public void onConfigurationChanged(android.content.res.Configuration);
33    method public boolean onKeyShortcut(int, android.view.KeyEvent);
34    method public boolean onMenuKeyEvent(android.view.KeyEvent);
35    method public boolean openOptionsMenu();
36    method public abstract void removeAllTabs();
37    method public abstract void removeOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener);
38    method public abstract void removeTab(android.support.v7.app.ActionBar.Tab);
39    method public abstract void removeTabAt(int);
40    method public abstract void selectTab(android.support.v7.app.ActionBar.Tab);
41    method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable);
42    method public abstract void setCustomView(android.view.View);
43    method public abstract void setCustomView(android.view.View, android.support.v7.app.ActionBar.LayoutParams);
44    method public abstract void setCustomView(int);
45    method public void setDefaultDisplayHomeAsUpEnabled(boolean);
46    method public abstract void setDisplayHomeAsUpEnabled(boolean);
47    method public abstract void setDisplayOptions(int);
48    method public abstract void setDisplayOptions(int, int);
49    method public abstract void setDisplayShowCustomEnabled(boolean);
50    method public abstract void setDisplayShowHomeEnabled(boolean);
51    method public abstract void setDisplayShowTitleEnabled(boolean);
52    method public abstract void setDisplayUseLogoEnabled(boolean);
53    method public void setElevation(float);
54    method public void setHideOffset(int);
55    method public void setHideOnContentScrollEnabled(boolean);
56    method public void setHomeActionContentDescription(java.lang.CharSequence);
57    method public void setHomeActionContentDescription(int);
58    method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable);
59    method public void setHomeAsUpIndicator(int);
60    method public void setHomeButtonEnabled(boolean);
61    method public abstract void setIcon(int);
62    method public abstract void setIcon(android.graphics.drawable.Drawable);
63    method public abstract void setListNavigationCallbacks(android.widget.SpinnerAdapter, android.support.v7.app.ActionBar.OnNavigationListener);
64    method public abstract void setLogo(int);
65    method public abstract void setLogo(android.graphics.drawable.Drawable);
66    method public abstract void setNavigationMode(int);
67    method public abstract void setSelectedNavigationItem(int);
68    method public void setShowHideAnimationEnabled(boolean);
69    method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable);
70    method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable);
71    method public abstract void setSubtitle(java.lang.CharSequence);
72    method public abstract void setSubtitle(int);
73    method public abstract void setTitle(java.lang.CharSequence);
74    method public abstract void setTitle(int);
75    method public void setWindowTitle(java.lang.CharSequence);
76    method public abstract void show();
77    method public android.support.v7.view.ActionMode startActionMode(android.support.v7.view.ActionMode.Callback);
78    field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4
79    field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10
80    field public static final int DISPLAY_SHOW_HOME = 2; // 0x2
81    field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8
82    field public static final int DISPLAY_USE_LOGO = 1; // 0x1
83    field public static final int NAVIGATION_MODE_LIST = 1; // 0x1
84    field public static final int NAVIGATION_MODE_STANDARD = 0; // 0x0
85    field public static final int NAVIGATION_MODE_TABS = 2; // 0x2
86  }
87
88  public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
89    ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet);
90    ctor public ActionBar.LayoutParams(int, int);
91    ctor public ActionBar.LayoutParams(int, int, int);
92    ctor public ActionBar.LayoutParams(int);
93    ctor public ActionBar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams);
94    ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams);
95    field public int gravity;
96  }
97
98  public static abstract interface ActionBar.OnMenuVisibilityListener {
99    method public abstract void onMenuVisibilityChanged(boolean);
100  }
101
102  public static abstract interface ActionBar.OnNavigationListener {
103    method public abstract boolean onNavigationItemSelected(int, long);
104  }
105
106  public static abstract class ActionBar.Tab {
107    ctor public ActionBar.Tab();
108    method public abstract java.lang.CharSequence getContentDescription();
109    method public abstract android.view.View getCustomView();
110    method public abstract android.graphics.drawable.Drawable getIcon();
111    method public abstract int getPosition();
112    method public abstract java.lang.Object getTag();
113    method public abstract java.lang.CharSequence getText();
114    method public abstract void select();
115    method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(int);
116    method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(java.lang.CharSequence);
117    method public abstract android.support.v7.app.ActionBar.Tab setCustomView(android.view.View);
118    method public abstract android.support.v7.app.ActionBar.Tab setCustomView(int);
119    method public abstract android.support.v7.app.ActionBar.Tab setIcon(android.graphics.drawable.Drawable);
120    method public abstract android.support.v7.app.ActionBar.Tab setIcon(int);
121    method public abstract android.support.v7.app.ActionBar.Tab setTabListener(android.support.v7.app.ActionBar.TabListener);
122    method public abstract android.support.v7.app.ActionBar.Tab setTag(java.lang.Object);
123    method public abstract android.support.v7.app.ActionBar.Tab setText(java.lang.CharSequence);
124    method public abstract android.support.v7.app.ActionBar.Tab setText(int);
125    field public static final int INVALID_POSITION = -1; // 0xffffffff
126  }
127
128  public static abstract interface ActionBar.TabListener {
129    method public abstract void onTabReselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction);
130    method public abstract void onTabSelected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction);
131    method public abstract void onTabUnselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction);
132  }
133
134  public class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.DrawerListener {
135    ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, int, int);
136    ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int);
137    method public android.view.View.OnClickListener getToolbarNavigationClickListener();
138    method public boolean isDrawerIndicatorEnabled();
139    method public void onConfigurationChanged(android.content.res.Configuration);
140    method public void onDrawerClosed(android.view.View);
141    method public void onDrawerOpened(android.view.View);
142    method public void onDrawerSlide(android.view.View, float);
143    method public void onDrawerStateChanged(int);
144    method public boolean onOptionsItemSelected(android.view.MenuItem);
145    method public void setDrawerIndicatorEnabled(boolean);
146    method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable);
147    method public void setHomeAsUpIndicator(int);
148    method public void setToolbarNavigationClickListener(android.view.View.OnClickListener);
149    method public void syncState();
150  }
151
152  public static abstract interface ActionBarDrawerToggle.Delegate {
153    method public abstract android.content.Context getActionBarThemedContext();
154    method public abstract android.graphics.drawable.Drawable getThemeUpIndicator();
155    method public abstract boolean isNavigationVisible();
156    method public abstract void setActionBarDescription(int);
157    method public abstract void setActionBarUpIndicator(android.graphics.drawable.Drawable, int);
158  }
159
160  public class AlertDialog extends android.support.v7.app.AppCompatDialog implements android.content.DialogInterface {
161    ctor protected AlertDialog(android.content.Context);
162    ctor protected AlertDialog(android.content.Context, int);
163    ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener);
164    method public android.widget.Button getButton(int);
165    method public android.widget.ListView getListView();
166    method public void setButton(int, java.lang.CharSequence, android.os.Message);
167    method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickListener);
168    method public void setCustomTitle(android.view.View);
169    method public void setIcon(int);
170    method public void setIcon(android.graphics.drawable.Drawable);
171    method public void setIconAttribute(int);
172    method public void setMessage(java.lang.CharSequence);
173    method public void setView(android.view.View);
174    method public void setView(android.view.View, int, int, int, int);
175  }
176
177  public abstract interface AppCompatCallback {
178    method public abstract void onSupportActionModeFinished(android.support.v7.view.ActionMode);
179    method public abstract void onSupportActionModeStarted(android.support.v7.view.ActionMode);
180    method public abstract android.support.v7.view.ActionMode onWindowStartingSupportActionMode(android.support.v7.view.ActionMode.Callback);
181  }
182
183  public abstract class AppCompatDelegate {
184    method public abstract void addContentView(android.view.View, android.view.ViewGroup.LayoutParams);
185    method public static android.support.v7.app.AppCompatDelegate create(android.app.Activity, android.support.v7.app.AppCompatCallback);
186    method public static android.support.v7.app.AppCompatDelegate create(android.app.Dialog, android.support.v7.app.AppCompatCallback);
187    method public abstract android.view.View createView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet);
188    method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate();
189    method public abstract android.view.MenuInflater getMenuInflater();
190    method public abstract android.support.v7.app.ActionBar getSupportActionBar();
191    method public abstract boolean hasWindowFeature(int);
192    method public abstract void installViewFactory();
193    method public abstract void invalidateOptionsMenu();
194    method public abstract boolean isHandleNativeActionModesEnabled();
195    method public abstract void onConfigurationChanged(android.content.res.Configuration);
196    method public abstract void onCreate(android.os.Bundle);
197    method public abstract void onDestroy();
198    method public abstract void onPostCreate(android.os.Bundle);
199    method public abstract void onPostResume();
200    method public abstract void onStop();
201    method public abstract boolean requestWindowFeature(int);
202    method public abstract void setContentView(android.view.View);
203    method public abstract void setContentView(int);
204    method public abstract void setContentView(android.view.View, android.view.ViewGroup.LayoutParams);
205    method public abstract void setHandleNativeActionModesEnabled(boolean);
206    method public abstract void setSupportActionBar(android.support.v7.widget.Toolbar);
207    method public abstract void setTitle(java.lang.CharSequence);
208    method public abstract android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback);
209    field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa
210    field public static final int FEATURE_SUPPORT_ACTION_BAR = 108; // 0x6c
211    field public static final int FEATURE_SUPPORT_ACTION_BAR_OVERLAY = 109; // 0x6d
212  }
213
214  public class AppCompatDialog extends android.app.Dialog implements android.support.v7.app.AppCompatCallback {
215    ctor public AppCompatDialog(android.content.Context);
216    ctor public AppCompatDialog(android.content.Context, int);
217    ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener);
218    method public android.support.v7.app.AppCompatDelegate getDelegate();
219    method public android.support.v7.app.ActionBar getSupportActionBar();
220    method public void onSupportActionModeFinished(android.support.v7.view.ActionMode);
221    method public void onSupportActionModeStarted(android.support.v7.view.ActionMode);
222    method public android.support.v7.view.ActionMode onWindowStartingSupportActionMode(android.support.v7.view.ActionMode.Callback);
223    method public boolean supportRequestWindowFeature(int);
224  }
225
226  public class MediaRouteActionProvider extends android.support.v4.view.ActionProvider {
227    ctor public MediaRouteActionProvider(android.content.Context);
228    method public android.support.v7.app.MediaRouteDialogFactory getDialogFactory();
229    method public android.support.v7.app.MediaRouteButton getMediaRouteButton();
230    method public android.support.v7.media.MediaRouteSelector getRouteSelector();
231    method public android.view.View onCreateActionView();
232    method public android.support.v7.app.MediaRouteButton onCreateMediaRouteButton();
233    method public void setDialogFactory(android.support.v7.app.MediaRouteDialogFactory);
234    method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
235  }
236
237  public class MediaRouteButton extends android.view.View {
238    ctor public MediaRouteButton(android.content.Context);
239    ctor public MediaRouteButton(android.content.Context, android.util.AttributeSet);
240    ctor public MediaRouteButton(android.content.Context, android.util.AttributeSet, int);
241    method public android.support.v7.app.MediaRouteDialogFactory getDialogFactory();
242    method public android.support.v7.media.MediaRouteSelector getRouteSelector();
243    method public void onAttachedToWindow();
244    method public void onDetachedFromWindow();
245    method public void setDialogFactory(android.support.v7.app.MediaRouteDialogFactory);
246    method public void setRemoteIndicatorDrawable(android.graphics.drawable.Drawable);
247    method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
248    method public boolean showDialog();
249  }
250
251  public class MediaRouteChooserDialog extends android.app.Dialog {
252    ctor public MediaRouteChooserDialog(android.content.Context);
253    ctor public MediaRouteChooserDialog(android.content.Context, int);
254    method public android.support.v7.media.MediaRouteSelector getRouteSelector();
255    method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo);
256    method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>);
257    method public void refreshRoutes();
258    method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
259  }
260
261  public class MediaRouteChooserDialogFragment extends android.support.v4.app.DialogFragment {
262    ctor public MediaRouteChooserDialogFragment();
263    method public android.support.v7.media.MediaRouteSelector getRouteSelector();
264    method public android.support.v7.app.MediaRouteChooserDialog onCreateChooserDialog(android.content.Context, android.os.Bundle);
265    method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
266  }
267
268  public class MediaRouteControllerDialog extends android.support.v7.app.AlertDialog {
269    ctor public MediaRouteControllerDialog(android.content.Context);
270    ctor public MediaRouteControllerDialog(android.content.Context, int);
271    method public android.view.View getMediaControlView();
272    method public android.support.v4.media.session.MediaSessionCompat.Token getMediaSession();
273    method public android.support.v7.media.MediaRouter.RouteInfo getRoute();
274    method public boolean isVolumeControlEnabled();
275    method public android.view.View onCreateMediaControlView(android.os.Bundle);
276    method public void setVolumeControlEnabled(boolean);
277  }
278
279  public class MediaRouteControllerDialogFragment extends android.support.v4.app.DialogFragment {
280    ctor public MediaRouteControllerDialogFragment();
281    method public android.support.v7.app.MediaRouteControllerDialog onCreateControllerDialog(android.content.Context, android.os.Bundle);
282  }
283
284  public class MediaRouteDialogFactory {
285    ctor public MediaRouteDialogFactory();
286    method public static android.support.v7.app.MediaRouteDialogFactory getDefault();
287    method public android.support.v7.app.MediaRouteChooserDialogFragment onCreateChooserDialogFragment();
288    method public android.support.v7.app.MediaRouteControllerDialogFragment onCreateControllerDialogFragment();
289  }
290
291  public class MediaRouteDiscoveryFragment extends android.support.v4.app.Fragment {
292    ctor public MediaRouteDiscoveryFragment();
293    method public android.support.v7.media.MediaRouter getMediaRouter();
294    method public android.support.v7.media.MediaRouteSelector getRouteSelector();
295    method public android.support.v7.media.MediaRouter.Callback onCreateCallback();
296    method public int onPrepareCallbackFlags();
297    method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
298  }
299
300}
301
302package android.support.v7.media {
303
304  public final class MediaControlIntent {
305    field public static final java.lang.String ACTION_END_SESSION = "android.media.intent.action.END_SESSION";
306    field public static final java.lang.String ACTION_ENQUEUE = "android.media.intent.action.ENQUEUE";
307    field public static final java.lang.String ACTION_GET_SESSION_STATUS = "android.media.intent.action.GET_SESSION_STATUS";
308    field public static final java.lang.String ACTION_GET_STATUS = "android.media.intent.action.GET_STATUS";
309    field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
310    field public static final java.lang.String ACTION_PLAY = "android.media.intent.action.PLAY";
311    field public static final java.lang.String ACTION_REMOVE = "android.media.intent.action.REMOVE";
312    field public static final java.lang.String ACTION_RESUME = "android.media.intent.action.RESUME";
313    field public static final java.lang.String ACTION_SEEK = "android.media.intent.action.SEEK";
314    field public static final java.lang.String ACTION_START_SESSION = "android.media.intent.action.START_SESSION";
315    field public static final java.lang.String ACTION_STOP = "android.media.intent.action.STOP";
316    field public static final java.lang.String CATEGORY_LIVE_AUDIO = "android.media.intent.category.LIVE_AUDIO";
317    field public static final java.lang.String CATEGORY_LIVE_VIDEO = "android.media.intent.category.LIVE_VIDEO";
318    field public static final java.lang.String CATEGORY_REMOTE_PLAYBACK = "android.media.intent.category.REMOTE_PLAYBACK";
319    field public static final int ERROR_INVALID_ITEM_ID = 3; // 0x3
320    field public static final int ERROR_INVALID_SESSION_ID = 2; // 0x2
321    field public static final int ERROR_UNKNOWN = 0; // 0x0
322    field public static final int ERROR_UNSUPPORTED_OPERATION = 1; // 0x1
323    field public static final java.lang.String EXTRA_ERROR_CODE = "android.media.intent.extra.ERROR_CODE";
324    field public static final java.lang.String EXTRA_ITEM_CONTENT_POSITION = "android.media.intent.extra.ITEM_POSITION";
325    field public static final java.lang.String EXTRA_ITEM_HTTP_HEADERS = "android.media.intent.extra.HTTP_HEADERS";
326    field public static final java.lang.String EXTRA_ITEM_ID = "android.media.intent.extra.ITEM_ID";
327    field public static final java.lang.String EXTRA_ITEM_METADATA = "android.media.intent.extra.ITEM_METADATA";
328    field public static final java.lang.String EXTRA_ITEM_STATUS = "android.media.intent.extra.ITEM_STATUS";
329    field public static final java.lang.String EXTRA_ITEM_STATUS_UPDATE_RECEIVER = "android.media.intent.extra.ITEM_STATUS_UPDATE_RECEIVER";
330    field public static final java.lang.String EXTRA_SESSION_ID = "android.media.intent.extra.SESSION_ID";
331    field public static final java.lang.String EXTRA_SESSION_STATUS = "android.media.intent.extra.SESSION_STATUS";
332    field public static final java.lang.String EXTRA_SESSION_STATUS_UPDATE_RECEIVER = "android.media.intent.extra.SESSION_STATUS_UPDATE_RECEIVER";
333  }
334
335  public final class MediaItemMetadata {
336    field public static final java.lang.String KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST";
337    field public static final java.lang.String KEY_ALBUM_TITLE = "android.media.metadata.ALBUM_TITLE";
338    field public static final java.lang.String KEY_ARTIST = "android.media.metadata.ARTIST";
339    field public static final java.lang.String KEY_ARTWORK_URI = "android.media.metadata.ARTWORK_URI";
340    field public static final java.lang.String KEY_AUTHOR = "android.media.metadata.AUTHOR";
341    field public static final java.lang.String KEY_COMPOSER = "android.media.metadata.COMPOSER";
342    field public static final java.lang.String KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER";
343    field public static final java.lang.String KEY_DURATION = "android.media.metadata.DURATION";
344    field public static final java.lang.String KEY_TITLE = "android.media.metadata.TITLE";
345    field public static final java.lang.String KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER";
346    field public static final java.lang.String KEY_YEAR = "android.media.metadata.YEAR";
347  }
348
349  public final class MediaItemStatus {
350    method public android.os.Bundle asBundle();
351    method public static android.support.v7.media.MediaItemStatus fromBundle(android.os.Bundle);
352    method public long getContentDuration();
353    method public long getContentPosition();
354    method public android.os.Bundle getExtras();
355    method public int getPlaybackState();
356    method public long getTimestamp();
357    field public static final java.lang.String EXTRA_HTTP_RESPONSE_HEADERS = "android.media.status.extra.HTTP_RESPONSE_HEADERS";
358    field public static final java.lang.String EXTRA_HTTP_STATUS_CODE = "android.media.status.extra.HTTP_STATUS_CODE";
359    field public static final int PLAYBACK_STATE_BUFFERING = 3; // 0x3
360    field public static final int PLAYBACK_STATE_CANCELED = 5; // 0x5
361    field public static final int PLAYBACK_STATE_ERROR = 7; // 0x7
362    field public static final int PLAYBACK_STATE_FINISHED = 4; // 0x4
363    field public static final int PLAYBACK_STATE_INVALIDATED = 6; // 0x6
364    field public static final int PLAYBACK_STATE_PAUSED = 2; // 0x2
365    field public static final int PLAYBACK_STATE_PENDING = 0; // 0x0
366    field public static final int PLAYBACK_STATE_PLAYING = 1; // 0x1
367  }
368
369  public static final class MediaItemStatus.Builder {
370    ctor public MediaItemStatus.Builder(int);
371    ctor public MediaItemStatus.Builder(android.support.v7.media.MediaItemStatus);
372    method public android.support.v7.media.MediaItemStatus build();
373    method public android.support.v7.media.MediaItemStatus.Builder setContentDuration(long);
374    method public android.support.v7.media.MediaItemStatus.Builder setContentPosition(long);
375    method public android.support.v7.media.MediaItemStatus.Builder setExtras(android.os.Bundle);
376    method public android.support.v7.media.MediaItemStatus.Builder setPlaybackState(int);
377    method public android.support.v7.media.MediaItemStatus.Builder setTimestamp(long);
378  }
379
380  public final class MediaRouteDescriptor {
381    method public android.os.Bundle asBundle();
382    method public boolean canDisconnectAndKeepPlaying();
383    method public static android.support.v7.media.MediaRouteDescriptor fromBundle(android.os.Bundle);
384    method public java.util.List<android.content.IntentFilter> getControlFilters();
385    method public java.lang.String getDescription();
386    method public android.os.Bundle getExtras();
387    method public java.lang.String getId();
388    method public java.lang.String getName();
389    method public int getPlaybackStream();
390    method public int getPlaybackType();
391    method public int getPresentationDisplayId();
392    method public android.content.IntentSender getSettingsActivity();
393    method public int getVolume();
394    method public int getVolumeHandling();
395    method public int getVolumeMax();
396    method public boolean isConnecting();
397    method public boolean isEnabled();
398    method public boolean isValid();
399  }
400
401  public static final class MediaRouteDescriptor.Builder {
402    ctor public MediaRouteDescriptor.Builder(java.lang.String, java.lang.String);
403    ctor public MediaRouteDescriptor.Builder(android.support.v7.media.MediaRouteDescriptor);
404    method public android.support.v7.media.MediaRouteDescriptor.Builder addControlFilter(android.content.IntentFilter);
405    method public android.support.v7.media.MediaRouteDescriptor.Builder addControlFilters(java.util.Collection<android.content.IntentFilter>);
406    method public android.support.v7.media.MediaRouteDescriptor build();
407    method public android.support.v7.media.MediaRouteDescriptor.Builder setCanDisconnect(boolean);
408    method public android.support.v7.media.MediaRouteDescriptor.Builder setConnecting(boolean);
409    method public android.support.v7.media.MediaRouteDescriptor.Builder setDescription(java.lang.String);
410    method public android.support.v7.media.MediaRouteDescriptor.Builder setEnabled(boolean);
411    method public android.support.v7.media.MediaRouteDescriptor.Builder setExtras(android.os.Bundle);
412    method public android.support.v7.media.MediaRouteDescriptor.Builder setId(java.lang.String);
413    method public android.support.v7.media.MediaRouteDescriptor.Builder setName(java.lang.String);
414    method public android.support.v7.media.MediaRouteDescriptor.Builder setPlaybackStream(int);
415    method public android.support.v7.media.MediaRouteDescriptor.Builder setPlaybackType(int);
416    method public android.support.v7.media.MediaRouteDescriptor.Builder setPresentationDisplayId(int);
417    method public android.support.v7.media.MediaRouteDescriptor.Builder setSettingsActivity(android.content.IntentSender);
418    method public android.support.v7.media.MediaRouteDescriptor.Builder setVolume(int);
419    method public android.support.v7.media.MediaRouteDescriptor.Builder setVolumeHandling(int);
420    method public android.support.v7.media.MediaRouteDescriptor.Builder setVolumeMax(int);
421  }
422
423  public final class MediaRouteDiscoveryRequest {
424    ctor public MediaRouteDiscoveryRequest(android.support.v7.media.MediaRouteSelector, boolean);
425    method public android.os.Bundle asBundle();
426    method public static android.support.v7.media.MediaRouteDiscoveryRequest fromBundle(android.os.Bundle);
427    method public android.support.v7.media.MediaRouteSelector getSelector();
428    method public boolean isActiveScan();
429    method public boolean isValid();
430  }
431
432  public abstract class MediaRouteProvider {
433    ctor public MediaRouteProvider(android.content.Context);
434    method public final android.content.Context getContext();
435    method public final android.support.v7.media.MediaRouteProviderDescriptor getDescriptor();
436    method public final android.support.v7.media.MediaRouteDiscoveryRequest getDiscoveryRequest();
437    method public final android.os.Handler getHandler();
438    method public final android.support.v7.media.MediaRouteProvider.ProviderMetadata getMetadata();
439    method public android.support.v7.media.MediaRouteProvider.RouteController onCreateRouteController(java.lang.String);
440    method public void onDiscoveryRequestChanged(android.support.v7.media.MediaRouteDiscoveryRequest);
441    method public final void setCallback(android.support.v7.media.MediaRouteProvider.Callback);
442    method public final void setDescriptor(android.support.v7.media.MediaRouteProviderDescriptor);
443    method public final void setDiscoveryRequest(android.support.v7.media.MediaRouteDiscoveryRequest);
444  }
445
446  public static abstract class MediaRouteProvider.Callback {
447    ctor public MediaRouteProvider.Callback();
448    method public void onDescriptorChanged(android.support.v7.media.MediaRouteProvider, android.support.v7.media.MediaRouteProviderDescriptor);
449  }
450
451  public static final class MediaRouteProvider.ProviderMetadata {
452    method public android.content.ComponentName getComponentName();
453    method public java.lang.String getPackageName();
454  }
455
456  public static abstract class MediaRouteProvider.RouteController {
457    ctor public MediaRouteProvider.RouteController();
458    method public boolean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestCallback);
459    method public void onRelease();
460    method public void onSelect();
461    method public void onSetVolume(int);
462    method public void onUnselect();
463    method public void onUnselect(int);
464    method public void onUpdateVolume(int);
465  }
466
467  public final class MediaRouteProviderDescriptor {
468    method public android.os.Bundle asBundle();
469    method public static android.support.v7.media.MediaRouteProviderDescriptor fromBundle(android.os.Bundle);
470    method public java.util.List<android.support.v7.media.MediaRouteDescriptor> getRoutes();
471    method public boolean isValid();
472  }
473
474  public static final class MediaRouteProviderDescriptor.Builder {
475    ctor public MediaRouteProviderDescriptor.Builder();
476    ctor public MediaRouteProviderDescriptor.Builder(android.support.v7.media.MediaRouteProviderDescriptor);
477    method public android.support.v7.media.MediaRouteProviderDescriptor.Builder addRoute(android.support.v7.media.MediaRouteDescriptor);
478    method public android.support.v7.media.MediaRouteProviderDescriptor.Builder addRoutes(java.util.Collection<android.support.v7.media.MediaRouteDescriptor>);
479    method public android.support.v7.media.MediaRouteProviderDescriptor build();
480  }
481
482  public abstract class MediaRouteProviderService extends android.app.Service {
483    ctor public MediaRouteProviderService();
484    method public android.support.v7.media.MediaRouteProvider getMediaRouteProvider();
485    method public android.os.IBinder onBind(android.content.Intent);
486    method public abstract android.support.v7.media.MediaRouteProvider onCreateMediaRouteProvider();
487    field public static final java.lang.String SERVICE_INTERFACE = "android.media.MediaRouteProviderService";
488  }
489
490  public final class MediaRouteSelector {
491    method public android.os.Bundle asBundle();
492    method public boolean contains(android.support.v7.media.MediaRouteSelector);
493    method public static android.support.v7.media.MediaRouteSelector fromBundle(android.os.Bundle);
494    method public java.util.List<java.lang.String> getControlCategories();
495    method public boolean hasControlCategory(java.lang.String);
496    method public boolean isEmpty();
497    method public boolean isValid();
498    method public boolean matchesControlFilters(java.util.List<android.content.IntentFilter>);
499    field public static final android.support.v7.media.MediaRouteSelector EMPTY;
500  }
501
502  public static final class MediaRouteSelector.Builder {
503    ctor public MediaRouteSelector.Builder();
504    ctor public MediaRouteSelector.Builder(android.support.v7.media.MediaRouteSelector);
505    method public android.support.v7.media.MediaRouteSelector.Builder addControlCategories(java.util.Collection<java.lang.String>);
506    method public android.support.v7.media.MediaRouteSelector.Builder addControlCategory(java.lang.String);
507    method public android.support.v7.media.MediaRouteSelector.Builder addSelector(android.support.v7.media.MediaRouteSelector);
508    method public android.support.v7.media.MediaRouteSelector build();
509  }
510
511  public final class MediaRouter {
512    method public void addCallback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback);
513    method public void addCallback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int);
514    method public void addProvider(android.support.v7.media.MediaRouteProvider);
515    method public void addRemoteControlClient(java.lang.Object);
516    method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute();
517    method public static android.support.v7.media.MediaRouter getInstance(android.content.Context);
518    method public android.support.v4.media.session.MediaSessionCompat.Token getMediaSessionToken();
519    method public java.util.List<android.support.v7.media.MediaRouter.ProviderInfo> getProviders();
520    method public java.util.List<android.support.v7.media.MediaRouter.RouteInfo> getRoutes();
521    method public android.support.v7.media.MediaRouter.RouteInfo getSelectedRoute();
522    method public boolean isRouteAvailable(android.support.v7.media.MediaRouteSelector, int);
523    method public void removeCallback(android.support.v7.media.MediaRouter.Callback);
524    method public void removeProvider(android.support.v7.media.MediaRouteProvider);
525    method public void removeRemoteControlClient(java.lang.Object);
526    method public void selectRoute(android.support.v7.media.MediaRouter.RouteInfo);
527    method public void setMediaSession(java.lang.Object);
528    method public void setMediaSessionCompat(android.support.v4.media.session.MediaSessionCompat);
529    method public void unselect(int);
530    method public android.support.v7.media.MediaRouter.RouteInfo updateSelectedRoute(android.support.v7.media.MediaRouteSelector);
531    field public static final int AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE = 1; // 0x1
532    field public static final int AVAILABILITY_FLAG_REQUIRE_MATCH = 2; // 0x2
533    field public static final int CALLBACK_FLAG_FORCE_DISCOVERY = 8; // 0x8
534    field public static final int CALLBACK_FLAG_PERFORM_ACTIVE_SCAN = 1; // 0x1
535    field public static final int CALLBACK_FLAG_REQUEST_DISCOVERY = 4; // 0x4
536    field public static final int CALLBACK_FLAG_UNFILTERED_EVENTS = 2; // 0x2
537    field public static final int UNSELECT_REASON_DISCONNECTED = 1; // 0x1
538    field public static final int UNSELECT_REASON_ROUTE_CHANGED = 3; // 0x3
539    field public static final int UNSELECT_REASON_STOPPED = 2; // 0x2
540    field public static final int UNSELECT_REASON_UNKNOWN = 0; // 0x0
541  }
542
543  public static abstract class MediaRouter.Callback {
544    ctor public MediaRouter.Callback();
545    method public void onProviderAdded(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo);
546    method public void onProviderChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo);
547    method public void onProviderRemoved(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo);
548    method public void onRouteAdded(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
549    method public void onRouteChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
550    method public void onRoutePresentationDisplayChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
551    method public void onRouteRemoved(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
552    method public void onRouteSelected(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
553    method public void onRouteUnselected(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
554    method public void onRouteVolumeChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo);
555  }
556
557  public static abstract class MediaRouter.ControlRequestCallback {
558    ctor public MediaRouter.ControlRequestCallback();
559    method public void onError(java.lang.String, android.os.Bundle);
560    method public void onResult(android.os.Bundle);
561  }
562
563  public static final class MediaRouter.ProviderInfo {
564    method public android.content.ComponentName getComponentName();
565    method public java.lang.String getPackageName();
566    method public android.support.v7.media.MediaRouteProvider getProviderInstance();
567    method public java.util.List<android.support.v7.media.MediaRouter.RouteInfo> getRoutes();
568  }
569
570  public static final class MediaRouter.RouteInfo {
571    method public boolean canDisconnect();
572    method public java.util.List<android.content.IntentFilter> getControlFilters();
573    method public java.lang.String getDescription();
574    method public android.os.Bundle getExtras();
575    method public java.lang.String getId();
576    method public java.lang.String getName();
577    method public int getPlaybackStream();
578    method public int getPlaybackType();
579    method public android.view.Display getPresentationDisplay();
580    method public android.support.v7.media.MediaRouter.ProviderInfo getProvider();
581    method public android.content.IntentSender getSettingsIntent();
582    method public int getVolume();
583    method public int getVolumeHandling();
584    method public int getVolumeMax();
585    method public boolean isConnecting();
586    method public boolean isDefault();
587    method public boolean isEnabled();
588    method public boolean isSelected();
589    method public boolean matchesSelector(android.support.v7.media.MediaRouteSelector);
590    method public void requestSetVolume(int);
591    method public void requestUpdateVolume(int);
592    method public void select();
593    method public void sendControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestCallback);
594    method public boolean supportsControlAction(java.lang.String, java.lang.String);
595    method public boolean supportsControlCategory(java.lang.String);
596    method public boolean supportsControlRequest(android.content.Intent);
597    field public static final int PLAYBACK_TYPE_LOCAL = 0; // 0x0
598    field public static final int PLAYBACK_TYPE_REMOTE = 1; // 0x1
599    field public static final int PLAYBACK_VOLUME_FIXED = 0; // 0x0
600    field public static final int PLAYBACK_VOLUME_VARIABLE = 1; // 0x1
601  }
602
603  public final class MediaSessionStatus {
604    method public android.os.Bundle asBundle();
605    method public static android.support.v7.media.MediaSessionStatus fromBundle(android.os.Bundle);
606    method public android.os.Bundle getExtras();
607    method public int getSessionState();
608    method public long getTimestamp();
609    method public boolean isQueuePaused();
610    field public static final int SESSION_STATE_ACTIVE = 0; // 0x0
611    field public static final int SESSION_STATE_ENDED = 1; // 0x1
612    field public static final int SESSION_STATE_INVALIDATED = 2; // 0x2
613  }
614
615  public static final class MediaSessionStatus.Builder {
616    ctor public MediaSessionStatus.Builder(int);
617    ctor public MediaSessionStatus.Builder(android.support.v7.media.MediaSessionStatus);
618    method public android.support.v7.media.MediaSessionStatus build();
619    method public android.support.v7.media.MediaSessionStatus.Builder setExtras(android.os.Bundle);
620    method public android.support.v7.media.MediaSessionStatus.Builder setQueuePaused(boolean);
621    method public android.support.v7.media.MediaSessionStatus.Builder setSessionState(int);
622    method public android.support.v7.media.MediaSessionStatus.Builder setTimestamp(long);
623  }
624
625  public class RemotePlaybackClient {
626    ctor public RemotePlaybackClient(android.content.Context, android.support.v7.media.MediaRouter.RouteInfo);
627    method public void endSession(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
628    method public void enqueue(android.net.Uri, java.lang.String, android.os.Bundle, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback);
629    method public java.lang.String getSessionId();
630    method public void getSessionStatus(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
631    method public void getStatus(java.lang.String, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback);
632    method public boolean hasSession();
633    method public boolean isQueuingSupported();
634    method public boolean isRemotePlaybackSupported();
635    method public boolean isSessionManagementSupported();
636    method public void pause(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
637    method public void play(android.net.Uri, java.lang.String, android.os.Bundle, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback);
638    method public void release();
639    method public void remove(java.lang.String, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback);
640    method public void resume(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
641    method public void seek(java.lang.String, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback);
642    method public void setSessionId(java.lang.String);
643    method public void setStatusCallback(android.support.v7.media.RemotePlaybackClient.StatusCallback);
644    method public void startSession(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
645    method public void stop(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback);
646  }
647
648  public static abstract class RemotePlaybackClient.ActionCallback {
649    ctor public RemotePlaybackClient.ActionCallback();
650    method public void onError(java.lang.String, int, android.os.Bundle);
651  }
652
653  public static abstract class RemotePlaybackClient.ItemActionCallback extends android.support.v7.media.RemotePlaybackClient.ActionCallback {
654    ctor public RemotePlaybackClient.ItemActionCallback();
655    method public void onResult(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus, java.lang.String, android.support.v7.media.MediaItemStatus);
656  }
657
658  public static abstract class RemotePlaybackClient.SessionActionCallback extends android.support.v7.media.RemotePlaybackClient.ActionCallback {
659    ctor public RemotePlaybackClient.SessionActionCallback();
660    method public void onResult(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus);
661  }
662
663  public static abstract class RemotePlaybackClient.StatusCallback {
664    ctor public RemotePlaybackClient.StatusCallback();
665    method public void onItemStatusChanged(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus, java.lang.String, android.support.v7.media.MediaItemStatus);
666    method public void onSessionChanged(java.lang.String);
667    method public void onSessionStatusChanged(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus);
668  }
669
670}
671
672