The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
media3-cast-integration
Agent skill fromandroid/skills
Implements Google Cast support in Android apps using Jetpack Media3.
How to install media3-cast-integration
npx skills add android/skills# or add only this skill to Claude Code: copy the folder
media/media3-cast-integration/
# into
~/.claude/skills/media3-cast-integration/ (all projects)
.claude/skills/media3-cast-integration/ (one project)
1## Prerequisites23- Jetpack Media3 version must be `>= 1.9.0`. Cast isn't available in lower versions.45## Glossary67- **`CastPlayer`** : Media3 `Player` that controls playback on both local and remote Cast devices.8- **`RemoteCastPlayer`** : Media3 `Player` that communicates with a Cast receiver, only used for remote playback.9- **Google Cast SDK**: Legacy casting SDK in maintenance mode, superseded by Jetpack Media3.10- **`OptionsProvider`** : Interface providing configuration options to initialize GMS `CastContext`.1112## Common guidelines1314- Legacy [Google Cast SDK](https://developers.google.com/cast) is in maintenance mode.15- For new Cast setups:16 - You must use [Jetpack Media3 Cast](references/android/media/media3/cast/index.md).17 - You mustn't use legacy Cast SDK unless explicitly requested.1819## Step 1: Set up dependencies2021To complete this step, you **MUST** ensure the following:2223- In the app-level build file, declare the `media3-cast` dependency version24 1.9.0 or higher.2526 implementation("androidx.media3:media3-cast:1.11.1")2728- Ensure required Media3 dependencies are present:2930 - `androidx.media3:media3-exoplayer`31 - `androidx.media3:media3-session`32 - `androidx.media3:media3-ui-compose`33- If the application uses legacy Views, add `media3-ui`.3435- Enforce the same versions across all Media3 dependencies.3637- Use configurations in "Add build dependencies" section of [Getting started38…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skills
Similar skill repositories
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
Skills for Designers and Engineers.
2,955+ reusable AI agent skills for Claude Code, Codex, Cursor and Gemini CLI. AAS Core adds local catalog discovery, agent-owned selection and plan preview. CLI, MCP and plugins.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
