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

js.web.permissions.Permissions Maven / Gradle / Ivy

package js.web.permissions;

import js.lang.Any;
import js.lang.Promise;
import org.teavm.jso.JSBody;


public interface Permissions extends Any {
    @JSBody(script = "return Permissions.prototype")
    static Permissions prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new Permissions()")
    static Permissions create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    Promise query(PermissionDescriptor permissionDesc);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy