clipboard_desktop.go 487 B

1234567891011121314151617
  1. //go:build !ios && !android
  2. // +build !ios,!android
  3. package mobile
  4. import "fyne.io/fyne/v2"
  5. // Content returns the clipboard content for mobile simulator runs
  6. func (c *mobileClipboard) Content() string {
  7. fyne.LogError("Clipboard is not supported in mobile simulation", nil)
  8. return ""
  9. }
  10. // SetContent sets the clipboard content for mobile simulator runs
  11. func (c *mobileClipboard) SetContent(content string) {
  12. fyne.LogError("Clipboard is not supported in mobile simulation", nil)
  13. }