// called from game thread
 public void LoadState(int slot, OnStateLoadedListener listener)
 {
     Logger.d("AndroidClient.LoadState, slot=" + slot);
     CallAppStateClientApi("load state slot=" + slot, (AndroidJavaObject c) => {
         OnStateLoadedProxy proxy = new OnStateLoadedProxy(this, listener);
         c.Call("loadState", proxy, slot);
     }, null);
 }
 // called from game thread
 public void LoadState(int slot, OnStateLoadedListener listener) {
     Logger.d("AndroidClient.LoadState, slot=" + slot);
     CallAppStateClientApi("load state slot=" + slot, (AndroidJavaObject c) => {
         OnStateLoadedProxy proxy = new OnStateLoadedProxy(this, listener);
         c.Call("loadState", proxy, slot);
     }, null);
 }