mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-08-04 00:00:08 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0da4f2133 |
@@ -21,6 +21,8 @@ export interface UploadEvent {
|
||||
errorCode?: number; // error code for any exception encountered
|
||||
progress?: any; // progress for ongoing upload
|
||||
eventId?: string; // id of the event
|
||||
uploadDuration?: number; // duration of the upload in milliseconds (UPLOADED state only)
|
||||
finishUploadTime?: number; // timestamp (ms) at which the upload finished (UPLOADED state only)
|
||||
}
|
||||
|
||||
export interface FTMPayloadOptions {
|
||||
|
||||
@@ -61,16 +61,7 @@ export interface MediaFileData {
|
||||
}
|
||||
|
||||
export interface CaptureError {
|
||||
/**
|
||||
* One of the `CaptureError` codes:
|
||||
* - `0` - CAPTURE_INTERNAL_ERR: Camera or microphone failed to capture image or sound.
|
||||
* - `1` - CAPTURE_APPLICATION_BUSY: Camera application or audio capture application is currently serving other capture request.
|
||||
* - `2` - CAPTURE_INVALID_ARGUMENT: Invalid use of the API (e.g. limit parameter has value less than one).
|
||||
* - `3` - CAPTURE_NO_MEDIA_FILES: User exited camera application or audio capture application before capturing anything.
|
||||
* - `4` - CAPTURE_PERMISSION_DENIED: User denied permissions required to perform the capture request.
|
||||
* - `20` - CAPTURE_NOT_SUPPORTED: The requested capture operation is not supported.
|
||||
*/
|
||||
code: number;
|
||||
code: string;
|
||||
}
|
||||
|
||||
export interface CaptureAudioOptions {
|
||||
|
||||
Reference in New Issue
Block a user