Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
package

# com.google.android.gms.cast

Contains classes for interacting with Cast devices.

## Interfaces

Cast.ApplicationConnectionResult | When a connection to a receiver application has been established, this object contains information about that application, including its `ApplicationMetadata` and current status.
Cast.CastApi | The main entry point for interacting with a Cast device.
Cast.MessageReceivedCallback | The interface to process received messages from a `CastDevice`.
RemoteMediaPlayer.MediaChannelResult | Result of a media command.
RemoteMediaPlayer.OnMetadataUpdatedListener | The listener interface for tracking metadata changes.
RemoteMediaPlayer.OnStatusUpdatedListener | The listener interface for tracking player status changes.

## Classes

ApplicationMetadata | Cast application metadata.
Cast | Main entry point for the Cast APIs.
Cast.CastOptions | API configuration parameters for `Cast`.
Cast.CastOptions.Builder | A builder to create an instance of `Cast.CastOptions` to set API configuration parameters for `Cast`.
Cast.Listener | The interface for `Cast` callbacks.
CastDevice | An object representing a Cast receiver device.
CastMediaControlIntent | Intent constants for use with the Cast MediaRouteProvider.
CastStatusCodes | Status codes for the Cast APIs.
MediaInfo | A class that aggregates information about a media item.
MediaInfo.Builder | A builder for `MediaInfo` objects.
MediaMetadata | Container class for media metadata.
MediaStatus | A class that holds status information about some media.
RemoteMediaPlayer | Class for controlling a media player application running on a receiver.