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

MediaQueueData

A class that holds the information of the playing queue or media container.

see Android | iOS | Chrome

Hierarchy

  • MediaQueueData

Index

Properties

  • containerMetadata
  • entity
  • id
  • items
  • name
  • repeatMode
  • startIndex
  • startTime
  • type

Properties

Optional containerMetadata

• containerMetadata? : MediaQueueContainerMetadata

Additional description for the queue, including an optional list of media sections metadata, images, etc.


Optional entity

• entity? : undefined | string

The deep link for the media as used by Google Assistant, if any (for example, the deep link of an album, playlist or radio station).


Optional id

• id? : undefined | string

ID of the queue.


Optional items

• items? : MediaQueueItem[]

The items to be loaded in the queue.


Optional name

• name? : undefined | string

Display name of the queue.


Optional repeatMode

• repeatMode? : MediaRepeatMode

How to repeat the queue.


Optional startIndex

• startIndex? : undefined | number

The index of the item in the queue that should be used to start playback first. Only valid for load requests.


Optional startTime

• startTime? : undefined | number

Seconds (since the beginning of content) to start playback of the first item. Only valid for load requests.


Optional type

• type? : MediaQueueType

Type of the queue.

← MediaQueueContainerMetadataMediaQueueItem →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • Optional containerMetadata
    • Optional entity
    • Optional id
    • Optional items
    • Optional name
    • Optional repeatMode
    • Optional startIndex
    • Optional startTime
    • Optional type