YouTube

YouTubeBaseActivity

Overview
Summary
public class
YouTubeBaseActivity
extends Activity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.google.android.youtube.player.YouTubeBaseActivity

Overview

Any activity that wants to directly incorporate YouTubePlayerView views in their UI must extend this activity.

Summary

[Expand]
Inherited Constants
int DEFAULT_KEYS_DIALER
int DEFAULT_KEYS_DISABLE
int DEFAULT_KEYS_SEARCH_GLOBAL
int DEFAULT_KEYS_SEARCH_LOCAL
int DEFAULT_KEYS_SHORTCUT
int RESULT_CANCELED
int RESULT_FIRST_USER
int RESULT_OK
String ACCESSIBILITY_SERVICE
String ACCOUNT_SERVICE
String ACTIVITY_SERVICE
String ALARM_SERVICE
String AUDIO_SERVICE
int BIND_ABOVE_CLIENT
int BIND_ADJUST_WITH_ACTIVITY
int BIND_ALLOW_OOM_MANAGEMENT
int BIND_AUTO_CREATE
int BIND_DEBUG_UNBIND
int BIND_IMPORTANT
int BIND_NOT_FOREGROUND
int BIND_WAIVE_PRIORITY
String CLIPBOARD_SERVICE
String CONNECTIVITY_SERVICE
int CONTEXT_IGNORE_SECURITY
int CONTEXT_INCLUDE_CODE
int CONTEXT_RESTRICTED
String DEVICE_POLICY_SERVICE
String DOWNLOAD_SERVICE
String DROPBOX_SERVICE
String INPUT_METHOD_SERVICE
String INPUT_SERVICE
String KEYGUARD_SERVICE
String LAYOUT_INFLATER_SERVICE
String LOCATION_SERVICE
String MEDIA_ROUTER_SERVICE
int MODE_APPEND
int MODE_ENABLE_WRITE_AHEAD_LOGGING
int MODE_MULTI_PROCESS
int MODE_PRIVATE
int MODE_WORLD_READABLE
int MODE_WORLD_WRITEABLE
String NFC_SERVICE
String NOTIFICATION_SERVICE
String NSD_SERVICE
String POWER_SERVICE
String SEARCH_SERVICE
String SENSOR_SERVICE
String STORAGE_SERVICE
String TELEPHONY_SERVICE
String TEXT_SERVICES_MANAGER_SERVICE
String UI_MODE_SERVICE
String USB_SERVICE
String VIBRATOR_SERVICE
String WALLPAPER_SERVICE
String WIFI_P2P_SERVICE
String WIFI_SERVICE
String WINDOW_SERVICE
int TRIM_MEMORY_BACKGROUND
int TRIM_MEMORY_COMPLETE
int TRIM_MEMORY_MODERATE
int TRIM_MEMORY_RUNNING_CRITICAL
int TRIM_MEMORY_RUNNING_LOW
int TRIM_MEMORY_RUNNING_MODERATE
int TRIM_MEMORY_UI_HIDDEN
[Expand]
Inherited Fields
protected static final int[] FOCUSED_STATE_SET
[Expand]
Inherited methods
void addContentView(View arg0, ViewGroup.LayoutParams arg1)
void closeContextMenu()
void closeOptionsMenu()
PendingIntent createPendingResult(int arg0, Intent arg1, int arg2)
final void dismissDialog(int arg0)
boolean dispatchGenericMotionEvent(MotionEvent arg0)
boolean dispatchKeyEvent(KeyEvent arg0)
boolean dispatchKeyShortcutEvent(KeyEvent arg0)
boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
boolean dispatchTouchEvent(MotionEvent arg0)
boolean dispatchTrackballEvent(MotionEvent arg0)
void dump(String arg0, FileDescriptor arg1, PrintWriter arg2, String[] arg3)
View findViewById(int arg0)
void finish()
void finishActivity(int arg0)
void finishActivityFromChild(Activity arg0, int arg1)
void finishAffinity()
void finishFromChild(Activity arg0)
ActionBar getActionBar()
final Application getApplication()
ComponentName getCallingActivity()
String getCallingPackage()
int getChangingConfigurations()
ComponentName getComponentName()
View getCurrentFocus()
FragmentManager getFragmentManager()
Intent getIntent()
Object getLastNonConfigurationInstance()
LayoutInflater getLayoutInflater()
LoaderManager getLoaderManager()
String getLocalClassName()
MenuInflater getMenuInflater()
final Activity getParent()
Intent getParentActivityIntent()
SharedPreferences getPreferences(int arg0)
int getRequestedOrientation()
Object getSystemService(String arg0)
int getTaskId()
final CharSequence getTitle()
final int getTitleColor()
final int getVolumeControlStream()
Window getWindow()
WindowManager getWindowManager()
boolean hasWindowFocus()
void invalidateOptionsMenu()
boolean isChangingConfigurations()
final boolean isChild()
boolean isFinishing()
boolean isTaskRoot()
final Cursor managedQuery(Uri arg0, String[] arg1, String arg2, String[] arg3, String arg4)
boolean moveTaskToBack(boolean arg0)
boolean navigateUpTo(Intent arg0)
boolean navigateUpToFromChild(Activity arg0, Intent arg1)
void onActionModeFinished(ActionMode arg0)
void onActionModeStarted(ActionMode arg0)
void onActivityResult(int arg0, int arg1, Intent arg2)
void onApplyThemeResource(Resources.Theme arg0, int arg1, boolean arg2)
void onAttachFragment(Fragment arg0)
void onAttachedToWindow()
void onBackPressed()
void onChildTitleChanged(Activity arg0, CharSequence arg1)
void onConfigurationChanged(Configuration arg0)
void onContentChanged()
boolean onContextItemSelected(MenuItem arg0)
void onContextMenuClosed(Menu arg0)
void onCreate(Bundle arg0)
void onCreateContextMenu(ContextMenu arg0, View arg1, ContextMenu.ContextMenuInfo arg2)
CharSequence onCreateDescription()
Dialog onCreateDialog(int arg0)
Dialog onCreateDialog(int arg0, Bundle arg1)
void onCreateNavigateUpTaskStack(TaskStackBuilder arg0)
boolean onCreateOptionsMenu(Menu arg0)
boolean onCreatePanelMenu(int arg0, Menu arg1)
View onCreatePanelView(int arg0)
boolean onCreateThumbnail(Bitmap arg0, Canvas arg1)
View onCreateView(View arg0, String arg1, Context arg2, AttributeSet arg3)
View onCreateView(String arg0, Context arg1, AttributeSet arg2)
void onDestroy()
void onDetachedFromWindow()
boolean onGenericMotionEvent(MotionEvent arg0)
boolean onKeyDown(int arg0, KeyEvent arg1)
boolean onKeyLongPress(int arg0, KeyEvent arg1)
boolean onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
boolean onKeyShortcut(int arg0, KeyEvent arg1)
boolean onKeyUp(int arg0, KeyEvent arg1)
void onLowMemory()
boolean onMenuItemSelected(int arg0, MenuItem arg1)
boolean onMenuOpened(int arg0, Menu arg1)
boolean onNavigateUp()
boolean onNavigateUpFromChild(Activity arg0)
void onNewIntent(Intent arg0)
boolean onOptionsItemSelected(MenuItem arg0)
void onOptionsMenuClosed(Menu arg0)
void onPanelClosed(int arg0, Menu arg1)
void onPause()
void onPostCreate(Bundle arg0)
void onPostResume()
void onPrepareDialog(int arg0, Dialog arg1)
void onPrepareDialog(int arg0, Dialog arg1, Bundle arg2)
void onPrepareNavigateUpTaskStack(TaskStackBuilder arg0)
boolean onPrepareOptionsMenu(Menu arg0)
boolean onPreparePanel(int arg0, View arg1, Menu arg2)
void onRestart()
void onRestoreInstanceState(Bundle arg0)
void onResume()
Object onRetainNonConfigurationInstance()
void onSaveInstanceState(Bundle arg0)
boolean onSearchRequested()
void onStart()
void onStop()
void onTitleChanged(CharSequence arg0, int arg1)
boolean onTouchEvent(MotionEvent arg0)
boolean onTrackballEvent(MotionEvent arg0)
void onTrimMemory(int arg0)
void onUserInteraction()
void onUserLeaveHint()
void onWindowAttributesChanged(WindowManager.LayoutParams arg0)
void onWindowFocusChanged(boolean arg0)
ActionMode onWindowStartingActionMode(ActionMode.Callback arg0)
void openContextMenu(View arg0)
void openOptionsMenu()
void overridePendingTransition(int arg0, int arg1)
void recreate()
void registerForContextMenu(View arg0)
final void removeDialog(int arg0)
final boolean requestWindowFeature(int arg0)
final void runOnUiThread(Runnable arg0)
void setContentView(int arg0)
void setContentView(View arg0)
void setContentView(View arg0, ViewGroup.LayoutParams arg1)
final void setDefaultKeyMode(int arg0)
final void setFeatureDrawable(int arg0, Drawable arg1)
final void setFeatureDrawableAlpha(int arg0, int arg1)
final void setFeatureDrawableResource(int arg0, int arg1)
final void setFeatureDrawableUri(int arg0, Uri arg1)
void setFinishOnTouchOutside(boolean arg0)
void setIntent(Intent arg0)
final void setProgress(int arg0)
final void setProgressBarIndeterminate(boolean arg0)
final void setProgressBarIndeterminateVisibility(boolean arg0)
final void setProgressBarVisibility(boolean arg0)
void setRequestedOrientation(int arg0)
final void setResult(int arg0)
final void setResult(int arg0, Intent arg1)
final void setSecondaryProgress(int arg0)
void setTitle(int arg0)
void setTitle(CharSequence arg0)
void setTitleColor(int arg0)
void setVisible(boolean arg0)
final void setVolumeControlStream(int arg0)
boolean shouldUpRecreateTask(Intent arg0)
final boolean showDialog(int arg0, Bundle arg1)
final void showDialog(int arg0)
ActionMode startActionMode(ActionMode.Callback arg0)
void startActivities(Intent[] arg0, Bundle arg1)
void startActivities(Intent[] arg0)
void startActivity(Intent arg0)
void startActivity(Intent arg0, Bundle arg1)
void startActivityForResult(Intent arg0, int arg1)
void startActivityForResult(Intent arg0, int arg1, Bundle arg2)
void startActivityFromChild(Activity arg0, Intent arg1, int arg2, Bundle arg3)
void startActivityFromChild(Activity arg0, Intent arg1, int arg2)
void startActivityFromFragment(Fragment arg0, Intent arg1, int arg2, Bundle arg3)
void startActivityFromFragment(Fragment arg0, Intent arg1, int arg2)
boolean startActivityIfNeeded(Intent arg0, int arg1, Bundle arg2)
boolean startActivityIfNeeded(Intent arg0, int arg1)
void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4, Bundle arg5)
void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4)
void startIntentSenderForResult(IntentSender arg0, int arg1, Intent arg2, int arg3, int arg4, int arg5, Bundle arg6)
void startIntentSenderForResult(IntentSender arg0, int arg1, Intent arg2, int arg3, int arg4, int arg5)
void startIntentSenderFromChild(Activity arg0, IntentSender arg1, int arg2, Intent arg3, int arg4, int arg5, int arg6)
void startIntentSenderFromChild(Activity arg0, IntentSender arg1, int arg2, Intent arg3, int arg4, int arg5, int arg6, Bundle arg7)
void startManagingCursor(Cursor arg0)
boolean startNextMatchingActivity(Intent arg0)
boolean startNextMatchingActivity(Intent arg0, Bundle arg1)
void startSearch(String arg0, boolean arg1, Bundle arg2, boolean arg3)
void stopManagingCursor(Cursor arg0)
void takeKeyEvents(boolean arg0)
void triggerSearch(String arg0, Bundle arg1)
void unregisterForContextMenu(View arg0)
void attachBaseContext(Context arg0)
Object getSystemService(String arg0)
Resources.Theme getTheme()
void onApplyThemeResource(Resources.Theme arg0, int arg1, boolean arg2)
void setTheme(int arg0)
void attachBaseContext(Context arg0)
boolean bindService(Intent arg0, ServiceConnection arg1, int arg2)
int checkCallingOrSelfPermission(String arg0)
int checkCallingOrSelfUriPermission(Uri arg0, int arg1)
int checkCallingPermission(String arg0)
int checkCallingUriPermission(Uri arg0, int arg1)
int checkPermission(String arg0, int arg1, int arg2)
int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3)
int checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5)
void clearWallpaper()
Context createPackageContext(String arg0, int arg1)
String[] databaseList()
boolean deleteDatabase(String arg0)
boolean deleteFile(String arg0)
void enforceCallingOrSelfPermission(String arg0, String arg1)
void enforceCallingOrSelfUriPermission(Uri arg0, int arg1, String arg2)
void enforceCallingPermission(String arg0, String arg1)
void enforceCallingUriPermission(Uri arg0, int arg1, String arg2)
void enforcePermission(String arg0, int arg1, int arg2, String arg3)
void enforceUriPermission(Uri arg0, int arg1, int arg2, int arg3, String arg4)
void enforceUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6)
String[] fileList()
Context getApplicationContext()
ApplicationInfo getApplicationInfo()
AssetManager getAssets()
Context getBaseContext()
File getCacheDir()
ClassLoader getClassLoader()
ContentResolver getContentResolver()
File getDatabasePath(String arg0)
File getDir(String arg0, int arg1)
File getExternalCacheDir()
File getExternalFilesDir(String arg0)
File getFileStreamPath(String arg0)
File getFilesDir()
Looper getMainLooper()
File getObbDir()
String getPackageCodePath()
PackageManager getPackageManager()
String getPackageName()
String getPackageResourcePath()
Resources getResources()
SharedPreferences getSharedPreferences(String arg0, int arg1)
Object getSystemService(String arg0)
Resources.Theme getTheme()
Drawable getWallpaper()
int getWallpaperDesiredMinimumHeight()
int getWallpaperDesiredMinimumWidth()
void grantUriPermission(String arg0, Uri arg1, int arg2)
boolean isRestricted()
FileInputStream openFileInput(String arg0)
FileOutputStream openFileOutput(String arg0, int arg1)
SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2)
SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2, DatabaseErrorHandler arg3)
Drawable peekWallpaper()
Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1)
Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1, String arg2, Handler arg3)
void removeStickyBroadcast(Intent arg0)
void revokeUriPermission(Uri arg0, int arg1)
void sendBroadcast(Intent arg0)
void sendBroadcast(Intent arg0, String arg1)
void sendOrderedBroadcast(Intent arg0, String arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6)
void sendOrderedBroadcast(Intent arg0, String arg1)
void sendStickyBroadcast(Intent arg0)
void sendStickyOrderedBroadcast(Intent arg0, BroadcastReceiver arg1, Handler arg2, int arg3, String arg4, Bundle arg5)
void setTheme(int arg0)
void setWallpaper(Bitmap arg0)
void setWallpaper(InputStream arg0)
void startActivities(Intent[] arg0)
void startActivities(Intent[] arg0, Bundle arg1)
void startActivity(Intent arg0)
void startActivity(Intent arg0, Bundle arg1)
boolean startInstrumentation(ComponentName arg0, String arg1, Bundle arg2)
void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4, Bundle arg5)
void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4)
ComponentName startService(Intent arg0)
boolean stopService(Intent arg0)
void unbindService(ServiceConnection arg0)
void unregisterReceiver(BroadcastReceiver arg0)
abstract boolean bindService(Intent arg0, ServiceConnection arg1, int arg2)
abstract int checkCallingOrSelfPermission(String arg0)
abstract int checkCallingOrSelfUriPermission(Uri arg0, int arg1)
abstract int checkCallingPermission(String arg0)
abstract int checkCallingUriPermission(Uri arg0, int arg1)
abstract int checkPermission(String arg0, int arg1, int arg2)
abstract int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3)
abstract int checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5)
abstract void clearWallpaper()
abstract Context createPackageContext(String arg0, int arg1)
abstract String[] databaseList()
abstract boolean deleteDatabase(String arg0)
abstract boolean deleteFile(String arg0)
abstract void enforceCallingOrSelfPermission(String arg0, String arg1)
abstract void enforceCallingOrSelfUriPermission(Uri arg0, int arg1, String arg2)
abstract void enforceCallingPermission(String arg0, String arg1)
abstract void enforceCallingUriPermission(Uri arg0, int arg1, String arg2)
abstract void enforcePermission(String arg0, int arg1, int arg2, String arg3)
abstract void enforceUriPermission(Uri arg0, int arg1, int arg2, int arg3, String arg4)
abstract void enforceUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6)
abstract String[] fileList()
abstract Context getApplicationContext()
abstract ApplicationInfo getApplicationInfo()
abstract AssetManager getAssets()
abstract File getCacheDir()
abstract ClassLoader getClassLoader()
abstract ContentResolver getContentResolver()
abstract File getDatabasePath(String arg0)
abstract File getDir(String arg0, int arg1)
abstract File getExternalCacheDir()
abstract File getExternalFilesDir(String arg0)
abstract File getFileStreamPath(String arg0)
abstract File getFilesDir()
abstract Looper getMainLooper()
abstract File getObbDir()
abstract String getPackageCodePath()
abstract PackageManager getPackageManager()
abstract String getPackageName()
abstract String getPackageResourcePath()
abstract Resources getResources()
abstract SharedPreferences getSharedPreferences(String arg0, int arg1)
final String getString(int arg0)
final String getString(int arg0, Object... arg1)
abstract Object getSystemService(String arg0)
final CharSequence getText(int arg0)
abstract Resources.Theme getTheme()
abstract Drawable getWallpaper()
abstract int getWallpaperDesiredMinimumHeight()
abstract int getWallpaperDesiredMinimumWidth()
abstract void grantUriPermission(String arg0, Uri arg1, int arg2)
boolean isRestricted()
final TypedArray obtainStyledAttributes(int[] arg0)
final TypedArray obtainStyledAttributes(AttributeSet arg0, int[] arg1)
final TypedArray obtainStyledAttributes(int arg0, int[] arg1)
final TypedArray obtainStyledAttributes(AttributeSet arg0, int[] arg1, int arg2, int arg3)
abstract FileInputStream openFileInput(String arg0)
abstract FileOutputStream openFileOutput(String arg0, int arg1)
abstract SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2)
abstract SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2, DatabaseErrorHandler arg3)
abstract Drawable peekWallpaper()
void registerComponentCallbacks(ComponentCallbacks arg0)
abstract Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1)
abstract Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1, String arg2, Handler arg3)
abstract void removeStickyBroadcast(Intent arg0)
abstract void revokeUriPermission(Uri arg0, int arg1)
abstract void sendBroadcast(Intent arg0)
abstract void sendBroadcast(Intent arg0, String arg1)
abstract void sendOrderedBroadcast(Intent arg0, String arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6)
abstract void sendOrderedBroadcast(Intent arg0, String arg1)
abstract void sendStickyBroadcast(Intent arg0)
abstract void sendStickyOrderedBroadcast(Intent arg0, BroadcastReceiver arg1, Handler arg2, int arg3, String arg4, Bundle arg5)
abstract void setTheme(int arg0)
abstract void setWallpaper(Bitmap arg0)
abstract void setWallpaper(InputStream arg0)
abstract void startActivities(Intent[] arg0)
abstract void startActivities(Intent[] arg0, Bundle arg1)
abstract void startActivity(Intent arg0)
abstract void startActivity(Intent arg0, Bundle arg1)
abstract boolean startInstrumentation(ComponentName arg0, String arg1, Bundle arg2)
abstract void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4, Bundle arg5)
abstract void startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4)
abstract ComponentName startService(Intent arg0)
abstract boolean stopService(Intent arg0)
abstract void unbindService(ServiceConnection arg0)
void unregisterComponentCallbacks(ComponentCallbacks arg0)
abstract void unregisterReceiver(BroadcastReceiver arg0)
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait()
final void wait(long arg0, int arg1)
final void wait(long arg0)
abstract void onConfigurationChanged(Configuration arg0)
abstract void onLowMemory()
abstract void onTrimMemory(int arg0)
abstract boolean onKeyDown(int arg0, KeyEvent arg1)
abstract boolean onKeyLongPress(int arg0, KeyEvent arg1)
abstract boolean onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
abstract boolean onKeyUp(int arg0, KeyEvent arg1)
abstract View onCreateView(String arg0, Context arg1, AttributeSet arg2)
abstract View onCreateView(View arg0, String arg1, Context arg2, AttributeSet arg3)
abstract void onCreateContextMenu(ContextMenu arg0, View arg1, ContextMenu.ContextMenuInfo arg2)
abstract boolean dispatchGenericMotionEvent(MotionEvent arg0)
abstract boolean dispatchKeyEvent(KeyEvent arg0)
abstract boolean dispatchKeyShortcutEvent(KeyEvent arg0)
abstract boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
abstract boolean dispatchTouchEvent(MotionEvent arg0)
abstract boolean dispatchTrackballEvent(MotionEvent arg0)
abstract void onActionModeFinished(ActionMode arg0)
abstract void onActionModeStarted(ActionMode arg0)
abstract void onAttachedToWindow()
abstract void onContentChanged()
abstract boolean onCreatePanelMenu(int arg0, Menu arg1)
abstract View onCreatePanelView(int arg0)
abstract void onDetachedFromWindow()
abstract boolean onMenuItemSelected(int arg0, MenuItem arg1)
abstract boolean onMenuOpened(int arg0, Menu arg1)
abstract void onPanelClosed(int arg0, Menu arg1)
abstract boolean onPreparePanel(int arg0, View arg1, Menu arg2)
abstract boolean onSearchRequested()
abstract void onWindowAttributesChanged(WindowManager.LayoutParams arg0)
abstract void onWindowFocusChanged(boolean arg0)
abstract ActionMode onWindowStartingActionMode(ActionMode.Callback arg0)

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.