using System.Threading.Tasks; namespace Bit.Core.Abstractions { public interface IClipboardService { /// /// Copies the to the Clipboard. /// If is set > 0 then the Clipboard will be cleared after this time in milliseconds. /// if less than 0 then it takes the configuration that the user set in Options. /// If is true the sensitive flag is passed to the clipdata to obfuscate the /// clipboard text in the popup (Android 13+ only) /// /// Text to be copied to the Clipboard /// Expiration time in milliseconds of the copied text /// Flag to mark copied text as sensitive Task CopyTextAsync(string text, int expiresInMs = -1, bool isSensitive = true); /// /// Returns true if the platform provides its own notification when text is copied to the clipboard /// bool IsCopyNotificationHandledByPlatform(); } }