stop method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'TracingController.stop', apiUrl: 'https://developer.android.com/reference/android/webkit/TracingController#stop(java.io.OutputStream,%20java.util.concurrent.Executor)')])
Future<bool> stop({
  1. String? filePath,
})

Stops tracing and flushes tracing data to the specified output stream. The data is sent to the specified output stream in json format typically in chunks.

Returns false if the WebView framework was not tracing at the time of the call, true otherwise.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • filePath: all platforms

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

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'TracingController.stop',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/TracingController#stop(java.io.OutputStream,%20java.util.concurrent.Executor)',
    ),
  ],
)
Future<bool> stop({String? filePath}) {
  throw UnimplementedError('stop is not implemented on the current platform');
}