All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.xpenatan.gdx.backends.teavm.dom.audio.HTMLMediaElementWrapper Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package com.github.xpenatan.gdx.backends.teavm.dom.audio;

import com.github.xpenatan.gdx.backends.teavm.dom.HTMLElementWrapper;
import org.teavm.jso.JSProperty;

public interface HTMLMediaElementWrapper extends HTMLElementWrapper {

    void play();
    void pause();

    @JSProperty
    void setCurrentTime(double time);

    @JSProperty
    double getCurrentTime();

    @JSProperty
    boolean isLoop();

    @JSProperty
    void setLoop(boolean isLooping);

    @JSProperty
    boolean isPaused();

    @JSProperty
    void setSrc(String url);

    @JSProperty
    String getSrc();

    @JSProperty
    Boolean isMuted();

    @JSProperty
    void setMuted(boolean flag);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy