ChromeOffscreen class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeDocument() Future<void>
Closes the currently-open offscreen document for the extension. |callback|: Invoked when the offscreen document has been closed.
createDocument(CreateParameters parameters) Future<void>
Creates a new offscreen document for the extension. |parameters|: The parameters describing the offscreen document to create. |callback|: Invoked when the offscreen document is created and has completed its initial page load.
hasDocument() Future<bool>
Determines whether the extension has an active document. TODO(https://crbug.com/1339382): This probably isn't something we want to ship in its current form (hence the nodoc). Instead of this, we should integrate offscreen documents into a service worker-compatible getViews() alternative. But this is pretty useful in testing environments. |callback|: Invoked with the result of whether the extension has an active offscreen document.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited