Dart Documentationchrome.tabCaptureCaptureInfo

CaptureInfo class

class CaptureInfo extends ChromeObject {
 CaptureInfo({int tabId, TabCaptureState status, bool fullscreen}) {
   if (tabId != null) this.tabId = tabId;
   if (status != null) this.status = status;
   if (fullscreen != null) this.fullscreen = fullscreen;
 }
 CaptureInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 int get tabId => jsProxy['tabId'];
 set tabId(int value) => jsProxy['tabId'] = value;

 TabCaptureState get status => _createTabCaptureState(jsProxy['status']);
 set status(TabCaptureState value) => jsProxy['status'] = jsify(value);

 bool get fullscreen => jsProxy['fullscreen'];
 set fullscreen(bool value) => jsProxy['fullscreen'] = value;
}

Extends

ChromeObject > CaptureInfo

Constructors

new CaptureInfo({int tabId, TabCaptureState status, bool fullscreen}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
CaptureInfo({int tabId, TabCaptureState status, bool fullscreen}) {
 if (tabId != null) this.tabId = tabId;
 if (status != null) this.status = status;
 if (fullscreen != null) this.fullscreen = fullscreen;
}

new CaptureInfo.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
CaptureInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

bool fullscreen #

bool get fullscreen => jsProxy['fullscreen'];
set fullscreen(bool value) => jsProxy['fullscreen'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

TabCaptureState status #

TabCaptureState get status => _createTabCaptureState(jsProxy['status']);
set status(TabCaptureState value) => jsProxy['status'] = jsify(value);

int tabId #

int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();