deleteContainer method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'ProfileStore.deleteProfile', apiUrl: 'https://developer.android.com/reference/androidx/webkit/ProfileStore', available: '110'), IOSPlatform(apiName: 'WKWebsiteDataStore.removeDataStoreForIdentifier', apiUrl: 'https://developer.apple.com/documentation/webkit/wkwebsitedatastore/4041133-removedatastoreforidentifier', available: '17.0'), MacOSPlatform(apiName: 'WKWebsiteDataStore.remove(forIdentifier:)', apiUrl: 'https://developer.apple.com/documentation/webkit/wkwebsitedatastore/4041133-removedatastoreforidentifier', available: '14.0'), WindowsPlatform(apiName: 'CoreWebView2Environment userDataFolder', apiUrl: 'https://learn.microsoft.com/microsoft-edge/webview2/concepts/user-data-folder'), LinuxPlatform(apiName: 'WebKitWebsiteDataManager persistent directories', apiUrl: 'https://webkitgtk.org/reference/webkit2gtk/stable/class.WebsiteDataManager.html')])
- String containerId
Deletes containerId when it is not in use.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'ProfileStore.deleteProfile',
apiUrl:
'https://developer.android.com/reference/androidx/webkit/ProfileStore',
available: '110',
),
IOSPlatform(
apiName: 'WKWebsiteDataStore.removeDataStoreForIdentifier',
apiUrl:
'https://developer.apple.com/documentation/webkit/wkwebsitedatastore/4041133-removedatastoreforidentifier',
available: '17.0',
),
MacOSPlatform(
apiName: 'WKWebsiteDataStore.remove(forIdentifier:)',
apiUrl:
'https://developer.apple.com/documentation/webkit/wkwebsitedatastore/4041133-removedatastoreforidentifier',
available: '14.0',
),
WindowsPlatform(
apiName: 'CoreWebView2Environment userDataFolder',
apiUrl:
'https://learn.microsoft.com/microsoft-edge/webview2/concepts/user-data-folder',
),
LinuxPlatform(
apiName: 'WebKitWebsiteDataManager persistent directories',
apiUrl:
'https://webkitgtk.org/reference/webkit2gtk/stable/class.WebsiteDataManager.html',
),
],
)
Future<bool> deleteContainer(String containerId) {
throw UnimplementedError(
'deleteContainer is not implemented on the current platform',
);
}