Skip to content

clear

Module @netwiv/api/plugins/clipboard-manager · Kind Function

import { clear } from '@netwiv/api/plugins/clipboard-manager';

Clears the clipboard.

  • Android: Only supported on SDK 28+. For older releases we write an empty string to the clipboard instead.
function clear(): Promise<void>
import { clear } from '@netwiv/api/plugins/clipboard-manager';
await clear();

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/plugin-clipboard-manager@2.3.3 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.