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

xyz.jsinterop.client.dom.MSMediaKeys Maven / Gradle / Ivy

The newest version!
package xyz.jsinterop.client.dom;

/*
 * #%L
 * jsinterop
 * %%
 * Copyright (C) 2016 Norbert Sándor
 * %%
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * #L%
 */

import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import xyz.jsinterop.client.core.Uint8Array;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface MSMediaKeys {
	@JsProperty
	public abstract String getKeySystem();

	@JsProperty
	public abstract void setKeySystem(final String value);

	@JsMethod
	public abstract MSMediaKeySession createSession(final String type, final Uint8Array initData);

	@JsMethod
	public abstract MSMediaKeySession createSession(final String type, final Uint8Array initData,
			final Uint8Array cdmData);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy