


The JavaDoc reference provides detailed definitions of the API's interfaces, classes, methods, and enums.Įxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. The sample applications overview describes the sample applications included in the API download. The setup instructions explain how to set up an API project using either Eclipse or IntelliJ. The instructions for registering your application explain how to register your app in the Google API Console and to obtain an Android API key, which you will need to use the API. The download page provides a link to download the API client library and JavaDocs. The following documents will help you to set up your development environment and use the YouTube Android Player API: Note: Users need to run version 4.2.16 of the mobile YouTube app (or higher) to use the API. As a result, your application can use the YouTube Android Player API and reach most devices in the Android ecosystem. Generally, devices running Android 2.2 (Froyo) or later that have the Google Play Store app installed will receive updates within a few days. In addition, the YouTube app is delivered through the Google Play Store, which means that updates to the API service are not dependent on carrier or OEM system image updates. However, upgrading is not necessary if you do not care about new features or bug fixes. The client library has a light footprint, meaning it won't adversely impact your app's file size, if you use ProGuard as part of your build process.Īs the API develops, you will be able to access newly introduced API features by upgrading to a newer version of the API client library.

The API client library interacts with a service that is distributed as a part of the YouTube app for the Android platform.
