0.0.31 • Published 11 months ago

my-audio-plugin v0.0.31

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

my-audio-plugin

this is custom audio plugin to play audio

Install

npm install my-audio-plugin
npx cap sync

API

loadAudio(...)

loadAudio(options: { url: string; }) => Promise<void>
ParamType
options{ url: string; }

play(...)

play(options: { url: string; }) => Promise<void>
ParamType
options{ url: string; }

stop()

stop() => Promise<void>

release()

release() => Promise<void>

addListener('audioPlayCompleted', ...)

addListener(eventName: 'audioPlayCompleted', listenerFunc: (data: { status: string; }) => void) => Promise<PluginListenerHandle>
ParamType
eventName'audioPlayCompleted'
listenerFunc(data: { status: string; }) => void

Returns: Promise<PluginListenerHandle>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
0.0.20

11 months ago

0.0.21

11 months ago

0.0.22

11 months ago

0.0.23

11 months ago

0.0.24

11 months ago

0.0.25

11 months ago

0.0.15

11 months ago

0.0.16

11 months ago

0.0.17

11 months ago

0.0.18

11 months ago

0.0.19

11 months ago

0.0.30

11 months ago

0.0.31

11 months ago

0.0.14

11 months ago

0.0.26

11 months ago

0.0.27

11 months ago

0.0.28

11 months ago

0.0.29

11 months ago

0.0.13

11 months ago

0.0.12

11 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago