Interface ApplicationData

  • All Known Implementing Classes:
    GDXApplicationData, StandardApplicationData, TeaLocalStorage

    public interface ApplicationData
    Interface for using the renderer to save or load persistent application data. Application data is saved to the platform's standard location. Storage is limited to simple key/value pairs, as some platforms do not allow saving arbitrary files.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()  
      java.lang.String get​(java.lang.String key, java.lang.String defaultValue)  
      void set​(java.lang.String key, java.lang.String value)  
    • Method Detail

      • get

        java.lang.String get​(java.lang.String key,
                             java.lang.String defaultValue)
      • set

        void set​(java.lang.String key,
                 java.lang.String value)
      • clear

        void clear()