elemental2.dom.MediaStreamTrackGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jacline-elemental2-dom Show documentation
Show all versions of jacline-elemental2-dom Show documentation
Thin Java abstractions for the standard built-in objects for
Javascript.
The newest version!
package elemental2.dom;
import elemental2.dom.WritableStream;
import elemental2.dom.ReadableStream;
import elemental2.dom.MediaStreamTrackGeneratorInit;
import jsinterop.annotations.JsFunction;
import elemental2.dom.MediaStreamTrack;
import java.lang.Object;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import elemental2.dom.MediaStreamTrackEvent;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public class MediaStreamTrackGenerator extends MediaStreamTrack{
@JsFunction
public interface OnaddtrackFn{
Object onInvoke(MediaStreamTrackEvent p0);
}
@JsFunction
public interface OnremovetrackFn{
Object onInvoke(MediaStreamTrackEvent p0);
}
public MediaStreamTrackGenerator.OnaddtrackFn onaddtrack;
public MediaStreamTrackGenerator.OnremovetrackFn onremovetrack;
public ReadableStream readableControl;
public WritableStream writable;
public MediaStreamTrackGenerator(MediaStreamTrackGeneratorInit kind){}
}