ImageCapture
[<Interface>]
type ImageCapture =
abstract member track: MediaStreamTrack
static member Create (track: MediaStreamTrack, getPhotoCapabilities: unit -> Promise<PhotoCapabilities>, getPhotoSettings: unit -> Promise<PhotoSettings>, grabFrame: unit -> Promise<ImageBitmap>, takePhoto: PhotoSettings option -> Promise<Blob>) : ImageCapture
abstract member getPhotoCapabilities () : Promise<PhotoCapabilities>
abstract member getPhotoSettings () : Promise<PhotoSettings>
abstract member grabFrame () : Promise<ImageBitmap>
abstract member takePhoto (?photoSettings: PhotoSettings) : Promise<Blob>
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Attributes | [<Interface>] |
Properties
abstract member track: MediaStreamTrack
Methods
static member Create (track: MediaStreamTrack, getPhotoCapabilities: unit -> Promise<PhotoCapabilities>, getPhotoSettings: unit -> Promise<PhotoSettings>, grabFrame: unit -> Promise<ImageBitmap>, takePhoto: PhotoSettings option -> Promise<Blob>) : ImageCapture
abstract member getPhotoCapabilities () : Promise<PhotoCapabilities>
abstract member getPhotoSettings () : Promise<PhotoSettings>
abstract member grabFrame () : Promise<ImageBitmap>
abstract member takePhoto (?photoSettings: PhotoSettings) : Promise<Blob>