stop method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'TracingController.stop', apiUrl: 'https://developer.android.com/reference/android/webkit/TracingController#stop(java.io.OutputStream,%20java.util.concurrent.Executor)')])
- 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:
- Android WebView (Official API - TracingController.stop)
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');
}