ApiConfig see above enables your app to join or manage an existing Cast session:. If Chrome on Android allows casting media from your website but you want to disable this feature so the default casting UI doesn't interfere with your own, use the disableRemotePlayback attribute, available in Chrome 49 and above:. The Cast Web SDK guide has links to sample apps, and information about Cast features such as session management, text tracks for subtitles and captions and status updates.
These APIs take advantage of the range of devices coming online — including connected displays that run a user agent — to enable a rich variety of applications with a 'control' device and a 'display' device. In the meantime, please let us know if you find bugs or have feature requests: crbug. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4. For details, see the Google Developers Site Policies. Fundamentals Tools Chrome DevTools.
Featured By Year By Tag. Capabilities Web Updates Web Updates Chrome Dev Summit is back! For more information, see Overview of Google Play Services. It is important for you to ensure that the correct Google Play services APK is installed on a user's device since updates might not reach all users immediately.
Select your development environment below and add Google Play services to your project by following the steps provided. Note: Android Studio projects contain a top-level build. Be sure to edit the file for your application module. Note: If the number of method references in your app exceeds the 65K limit , your app may fail to compile. You may be able to mitigate this problem when compiling your app by specifying only the specific Google Play services APIs your app uses, instead of all of them.
For information on how to do this, see Selectively compiling APIs into your executable. Note: You should be referencing a copy of the library that you copied to your development workspace—you should not reference the library directly from the Android SDK directory. Once you've set up your project to reference the library project, you can begin developing features with the Google Play services APIs. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.
For details, see the Google Developers Site Policies. Home Guides Reference Samples Support. Cast SDK. Sender Apps. Develop Android Sender App.
0コメント