FlixelLwjgl3HostIntegration
View sourceclass
org.flixelgdx.backend.lwjgl3.FlixelLwjgl3HostIntegration
public final class FlixelLwjgl3HostIntegration implements FlixelHostIntegration
Desktop FlixelHostIntegration: freedesktop or Zenity notifications on Linux, osascript on macOS, WinRT toasts via PowerShell on Windows, GLFW window attention, AWT Taskbar attention, platform screen wake lock, and AWT text clipboard access.
Constructors
FlixelLwjgl3HostIntegration()
public FlixelLwjgl3HostIntegration()
Methods
requestNotificationPermission()
public void requestNotificationPermission()
requestAttention()
public void requestAttention()
keepScreenAwake(boolean)
public void keepScreenAwake(boolean awake)
setExitConfirmation(String)
public void setExitConfirmation(String message)
sendNotification(String, String)
public void sendNotification(String title, String message)
copyToClipboard(String)
public void copyToClipboard(String text)
pasteFromClipboard()
public void pasteFromClipboard()
supportsNotifications()
public boolean supportsNotifications()
supportsWakeLock()
public boolean supportsWakeLock()
supportsClipboard()
public boolean supportsClipboard()
onTextPasted()
public FlixelSignal<String> onTextPasted()