7.0.6 • Published 7 months ago

@caprockapps/capacitor-chromecast v7.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@caprockapps/capacitor-chromecast

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

Install

npm install @caprockapps/capacitor-chromecast
npx cap sync

API

initialize(...)

initialize(options: any) => Promise<void>
ParamType
optionsany

requestSession()

requestSession() => Promise<void>

launchMedia(...)

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

Returns: Promise<boolean>


addListener(string, ...)

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

Returns: Promise<PluginListenerHandle>


sendMessage(...)

sendMessage(messageObj: any) => Promise<any>
ParamType
messageObjany

Returns: Promise<any>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>

Type Aliases

ListenerCallback

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

7.0.6

7 months ago

7.0.5

7 months ago

7.0.0

7 months ago

7.0.4

7 months ago

7.0.3

7 months ago

7.0.2

7 months ago

7.0.1

7 months ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.15

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago