001package gwt.material.design.jscore.client.api.media; 002 003/* 004 * Copyright 2016 Google Inc. 005 * 006 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 007 * use this file except in compliance with the License. You may obtain a copy of 008 * the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 014 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 015 * License for the specific language governing permissions and limitations under 016 * the License. 017 */ 018 019import jsinterop.annotations.JsMethod; 020import jsinterop.annotations.JsProperty; 021import jsinterop.annotations.JsType; 022 023@JsType(isNative = true) 024public class MediaStreamTrack { 025 026 @JsProperty 027 public boolean enabled; 028 029 @JsProperty 030 public String id; 031 032 @JsProperty 033 public String kind; 034 035 @JsProperty 036 public String label; 037 038 @JsProperty 039 public boolean muted; 040 041 @JsProperty 042 public boolean readOnly; 043 044 @JsProperty 045 public boolean remote; 046 047 @JsMethod 048 public native void stop(); 049}