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

MediaSeekOptions

Hierarchy

  • MediaSeekOptions

Index

Properties

  • customData
  • infinite
  • position
  • relative
  • resumeState

Properties

Optional customData

• customData? : undefined | object

Custom application-specific data to pass along with the request.


Optional infinite

• infinite? : undefined | false | true

Whether seek to end of stream or live.


Optional position

• position? : undefined | number

The position to seek to, in seconds from the beginning of the stream. Ignored if infinite is true.


Optional relative

• relative? : undefined | false | true

Whether the time interval is relative to the current stream position (true) or to the beginning of the stream (false). The default value is false, indicating an absolute seek position.


Optional resumeState

• resumeState? : "play" | "pause"

The action to take after the seek operation has finished. If not specified, it will preserve current play state.

← MediaQueueItemMediaStatus →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • Optional customData
    • Optional infinite
    • Optional position
    • Optional relative
    • Optional resumeState