onStatusChanged property
EventStream<CaptureInfo>
get
onStatusChanged
Event fired when the capture status of a tab changes. This allows extension authors to keep track of the capture status of tabs to keep UI elements like page actions in sync. |info| : CaptureInfo with new capture status for the tab.
Implementation
EventStream<CaptureInfo> get onStatusChanged =>
$js.chrome.tabCapture.onStatusChanged
.asStream(($c) => ($js.CaptureInfo info) {
return $c(CaptureInfo.fromJS(info));
});