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

js.web.push.PushSubscriptionOptions Maven / Gradle / Ivy

package js.web.push;

import js.lang.Any;
import js.util.buffers.ArrayBuffer;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

import javax.annotation.Nullable;


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

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

    @JSProperty
    @Nullable
    ArrayBuffer getApplicationServerKey();

    @JSProperty
    boolean isUserVisibleOnly();


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy