New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gameleap/capacitor-chromecast

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gameleap/capacitor-chromecast

This is a plugin for Capacitor that enables Chromecast functionality for iOS and Android.

0.0.4
latest
Source
npm
Version published
Maintainers
1
Created
Source

@gameleap/capacitor-chromecast

This is a plugin for Capacitor that enables Chromecast functionality for iOS and Android.

Install

npm install @gameleap/capacitor-chromecast
npx cap sync

API

  • initialize()
  • requestSession()
  • launchMedia(...)
  • addListener(string, ...)
  • Interfaces
  • Type Aliases

initialize()

initialize() => Promise<void>

requestSession()

requestSession() => Promise<void>

launchMedia(...)

launchMedia(mediaUrl: string) => Promise<boolean>
ParamType
mediaUrlstring

Returns: Promise<boolean>

addListener(string, ...)

addListener(eventName: string, listenerFunc: ListenerCallback) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventNamestring
listenerFuncListenerCallback

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Interfaces

PluginListenerHandle
PropType
remove() => Promise<void>

Type Aliases

ListenerCallback

(err: any, ...args: any[]): void

Keywords

capacitor

FAQs

Package last updated on 03 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts