Skip to content

ImageCapture

[<Interface>]
type ImageCapture =
    abstract member track: MediaStreamTrack
    abstract member getPhotoCapabilities () : Promise<PhotoCapabilities>
    abstract member getPhotoSettings () : Promise<PhotoSettings>
    abstract member grabFrame () : Promise<ImageBitmap>
    abstract member takePhoto (?photoSettings: PhotoSettings) : Promise<Blob>
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>] [<Global>]

Properties

abstract member track: MediaStreamTrack

Methods

abstract member getPhotoCapabilities () : Promise<PhotoCapabilities>
abstract member getPhotoSettings () : Promise<PhotoSettings>
abstract member grabFrame () : Promise<ImageBitmap>
abstract member takePhoto (?photoSettings: PhotoSettings) : Promise<Blob>