https://github.com/svssdeva/video-data-bridge
https://github.com/svssdeva/video-data-bridge
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/svssdeva/video-data-bridge
- Owner: svssdeva
- Created: 2025-01-18T07:35:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-18T09:28:45.000Z (over 1 year ago)
- Last Synced: 2026-05-23T15:35:31.882Z (about 1 month ago)
- Language: Swift
- Size: 207 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# @svssdeva/video-data-bridge
Capacitor plugin for passing data from web to android
## Install
```bash
npm install @svssdeva/video-data-bridge
npx cap sync
```
## API
* [`openVideo(...)`](#openvideo)
* [`openDownloadsPage()`](#opendownloadspage)
* [Interfaces](#interfaces)
### openVideo(...)
```typescript
openVideo(videoData: VideoData) => Promise<{ success: boolean; }>
```
| Param | Type |
| --------------- | ----------------------------------------------- |
| **`videoData`** | VideoData |
**Returns:** Promise<{ success: boolean; }>
--------------------
### openDownloadsPage()
```typescript
openDownloadsPage() => Promise<{ success: boolean; }>
```
**Returns:** Promise<{ success: boolean; }>
--------------------
### Interfaces
#### VideoData
| Prop | Type |
| ---------------- | ------------------- |
| **`token`** | string |
| **`userId`** | string |
| **`videoData`** | string |
| **`clientId`** | string |
| **`clientType`** | string |
| **`randomId`** | string |