@svssdeva/video-data-bridge
v1.0.0
Published
Capacitor plugin for passing data from web to android for native video player
Readme
@svssdeva/video-data-bridge
Capacitor plugin for passing data from web to android
Install
npm install @svssdeva/video-data-bridge
npx cap syncAPI
openVideo(...)
openVideo(videoData: VideoData) => Promise<{ success: boolean; }>| Param | Type |
| --------------- | ----------------------------------------------- |
| videoData | VideoData |
Returns: Promise<{ success: boolean; }>
openDownloadsPage()
openDownloadsPage() => Promise<{ success: boolean; }>Returns: Promise<{ success: boolean; }>
Interfaces
VideoData
| Prop | Type |
| ---------------- | ------------------- |
| token | string |
| userId | string |
| videoData | string |
| clientId | string |
| clientType | string |
| randomId | string |
