DevToolsExtensionEventType enum

Supported events that can be sent and received over 'postMessage' between DevTools and a DevTools extension running in an embedded iFrame.

Inheritance
Available extensions

Values

ping → const DevToolsExtensionEventType

An event DevTools will send to an extension to verify that the extension is ready for use.

const DevToolsExtensionEventType(ExtensionEventDirection.toExtension)
pong → const DevToolsExtensionEventType

An event that an extension will send back to DevTools after receiving a ping event.

const DevToolsExtensionEventType(ExtensionEventDirection.toDevTools)
forceReload → const DevToolsExtensionEventType

An event that DevTools will send to an extension to force the extension iFrame to reload.

const DevToolsExtensionEventType(ExtensionEventDirection.toExtension)
vmServiceConnection → const DevToolsExtensionEventType

An event that DevTools will send to an extension to notify of the connected vm service uri.

const DevToolsExtensionEventType(ExtensionEventDirection.bidirectional)
themeUpdate → const DevToolsExtensionEventType

An event that DevTools will send to an extension to notify of changes to the active DevTools theme (light or dark).

const DevToolsExtensionEventType(ExtensionEventDirection.toExtension)
showNotification → const DevToolsExtensionEventType

An event that an extension will send to DevTools asking DevTools to post a notification to the DevTools global notificationService.

const DevToolsExtensionEventType(ExtensionEventDirection.toDevTools)
showBannerMessage → const DevToolsExtensionEventType

An event that an extension will send to DevTools asking DevTools to post a banner message to the extension's screen using the global bannerMessages.

const DevToolsExtensionEventType(ExtensionEventDirection.toDevTools)
unknown → const DevToolsExtensionEventType

Any unrecognized event that is not one of the above supported event types.

const DevToolsExtensionEventType(ExtensionEventDirection.bidirectional)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supportedForDirection(ExtensionEventDirection direction) bool
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from(String name) DevToolsExtensionEventType

Constants

values → const List<DevToolsExtensionEventType>
A constant List of the values in this enum, in order of their declaration.