registerRecorderExtensionPlugin method

void registerRecorderExtensionPlugin(
  1. RecorderExtensionPlugin plugin,
  2. String name,
  3. String mediaType
)

Registers a Recorder extension plugin. plugin An instance implementing the RecorderExtensionPlugin interface. name The name of the plugin. mediaType The media type of the string content that the plugin produces.

Implementation

void registerRecorderExtensionPlugin(
  RecorderExtensionPlugin plugin,
  String name,
  String mediaType,
) {
  $js.chrome.devtools.recorder.registerRecorderExtensionPlugin(
    plugin.toJS,
    name,
    mediaType,
  );
}