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

Device

An object representing a Cast receiver device.

see Android | iOS | Chrome

Hierarchy

  • Device

Index

Properties

  • capabilities
  • deviceId
  • deviceVersion
  • friendlyName
  • icons
  • ipAddress
  • isOnLocalNetwork
  • modelName

Properties

capabilities

• capabilities: DeviceCapability[]

List of capabilities available on this device


deviceId

• deviceId: string

A unique identifier for the device.


deviceVersion

• deviceVersion: string

The device's protocol version.


friendlyName

• friendlyName: string

The device's friendly name. This is a user-assignable name such as "Living Room".


icons

• icons: WebImage[]

Returns a list of all of the device's icons. If there are no images, returns an empty list.


ipAddress

• ipAddress: string

The device's IP address. IPv4 if available, otherwise IPv6.


Optional isOnLocalNetwork

• isOnLocalNetwork? : undefined | false | true

True if this device is on the local network.


modelName

• modelName: string

Gets the model name for the device.

← ApplicationMetadataMediaInfo →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • capabilities
    • deviceId
    • deviceVersion
    • friendlyName
    • icons
    • ipAddress
    • Optional isOnLocalNetwork
    • modelName