React Native Google Cast

React Native Google Cast

  • Docs
  • GitHub

›Types

Getting Started

  • Installation
  • Setup
  • Usage
  • Troubleshooting

Guides

  • Custom Channels
  • Customize UI
  • Events
  • Hooks
  • Media Tracks
  • Queueing
  • Volume

Components

  • CastButton
  • ExpandedController

API

  • CastChannel
  • CastContext
  • CastSession
  • DiscoveryManager
  • RemoteMediaClient
  • SessionManager

Types

  • ApplicationMetadata
  • Device
  • MediaInfo
  • MediaLiveSeekableRange
  • MediaLoadRequest
  • MediaMetadata
    • Generic
    • Movie
    • MusicTrack
    • Photo
    • TvShow
    • User
  • MediaQueueContainerMetadata
  • MediaQueueData
  • MediaQueueItem
  • MediaSeekOptions
  • MediaStatus
  • MediaTrack
  • TextTrackStyle
  • UseCastSessionOptions
  • VideoInfo
  • WebImage

Enums

  • ActiveInputState
  • CastState
  • MediaHlsSegmentFormat
  • MediaHlsVideoSegmentFormat
  • MediaPlayerIdleReason
  • MediaPlayerState
  • MediaQueueContainerType
  • MediaQueueType
  • MediaRepeatMode
  • MediaStreamType
  • PlayServicesState
  • StandbyState

Generic

Metadata representing generic media content.

example

{
  type: 'generic',
  title: 'Mona Lisa',
  artist: 'Leonardo da Vinci'
}

Hierarchy

  • MediaMetadata

    ↳ Generic

Index

Properties

  • artist
  • images
  • releaseDate
  • subtitle
  • title
  • type

Properties

Optional artist

• artist? : undefined | string

The name of the artist who created the media.


Optional images

• images? : WebImage[]

Inherited from MediaMetadata.images

List of images, e.g. a poster image, album cover, photo etc.


Optional releaseDate

• releaseDate? : undefined | string

The date and/or time at which the movie was released, in ISO-8601 format, e.g. '2008-04-10' or '2018-04-10T12:40:00'.


Optional subtitle

• subtitle? : undefined | string

The subtitle of the movie.


Optional title

• title? : undefined | string

The title of the movie.


type

• type: "generic"

Overrides MediaMetadata.type

Media type.

← MediaMetadataMovie →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • Optional artist
    • Optional images
    • Optional releaseDate
    • Optional subtitle
    • Optional title
    • type