start method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'TracingController.start', apiUrl: 'https://developer.android.com/reference/android/webkit/TracingController#start(android.webkit.TracingConfig)')])
Future<void> start({
  1. required TracingSettings settings,
})

Starts tracing all WebViews. Depending on the trace mode in trace config specifies how the trace events are recorded. For tracing modes TracingMode.RECORD_UNTIL_FULL and TracingMode.RECORD_CONTINUOUSLY the events are recorded using an internal buffer and flushed to the outputStream when stop is called.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • settings: all platforms

Use the PlatformTracingController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'TracingController.start',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/TracingController#start(android.webkit.TracingConfig)',
    ),
  ],
)
Future<void> start({required TracingSettings settings}) {
  throw UnimplementedError(
    'start is not implemented on the current platform',
  );
}