W3cubDocs

/Haxe JavaScript

ImageCapture

package js.html

extends EventTarget

@:native("ImageCapture") Available on js

Constructor

new (track:VideoStreamTrack)

Throws:

null DOMError

Variables

onerror:Function

onphoto:Function

read only videoStreamTrack:VideoStreamTrack

Methods

takePhoto ():Void

Throws:

null DOMError

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ImageCapture.html