Interface Capture

Index

Methods

Methods

public captureAudio(captureSuccess: (mediaFiles: MediaFile[]) => void, captureError: (error: CaptureError) => void, options?: CaptureAudioOptions)

Parameters

  • captureSuccess: (mediaFiles: MediaFile[]) => void
  • captureError: (error: CaptureError) => void
  • options?: CaptureAudioOptions optional

public captureImage(captureSuccess: (mediaFiles: MediaFile[]) => void, captureError: (error: CaptureError) => void, options?: CaptureImageOptions)

Parameters

  • captureSuccess: (mediaFiles: MediaFile[]) => void
  • captureError: (error: CaptureError) => void
  • options?: CaptureImageOptions optional

public captureVideo(captureSuccess: (mediaFiles: MediaFile[]) => void, captureError: (error: CaptureError) => void, options?: CaptureImageOptions)

Parameters

  • captureSuccess: (mediaFiles: MediaFile[]) => void
  • captureError: (error: CaptureError) => void
  • options?: CaptureImageOptions optional