Class LJ_GDX_utils.Clipboard_T.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_utils.Clipboard_T.LIP
All Implemented Interfaces:
com.badlogic.gdx.utils.Clipboard, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_utils.Clipboard_T

public static class LJ_GDX_utils.Clipboard_T.LIP extends InterfaceProxy implements com.badlogic.gdx.utils.Clipboard
  • Method Details

    • getContents

      public String getContents()
      Description copied from interface: com.badlogic.gdx.utils.Clipboard
      gets the current content of the clipboard if it contains text for WebGL app, getting the system clipboard is currently not supported. It works only inside the app
      Specified by:
      getContents in interface com.badlogic.gdx.utils.Clipboard
      Returns:
      the clipboard content or null
    • hasContents

      public boolean hasContents()
      Description copied from interface: com.badlogic.gdx.utils.Clipboard
      Check if the clipboard has contents. Recommended to use over getContents() for privacy reasons, if you only want to check if there's something on the clipboard. For instance, calling getContents() on iOS shows a privacy notification since iOS 14, while hasContents() does not.
      Specified by:
      hasContents in interface com.badlogic.gdx.utils.Clipboard
      Returns:
      true, if the clipboard has contents
    • setContents

      public void setContents(String p1)
      Description copied from interface: com.badlogic.gdx.utils.Clipboard
      Sets the content of the system clipboard. for WebGL app, clipboard content might not be set if user denied permission, setting clipboard is not synchronous so you can't rely on getting same content just after setting it
      Specified by:
      setContents in interface com.badlogic.gdx.utils.Clipboard
      Parameters:
      p1 - the content