Compare commits

..
2 changed files with 3 additions and 10 deletions
@@ -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 {