void OnGiftResult(GooglePlayGiftRequestResult result) { SA_StatusBar.text = "Gift Send Result: " + result.code.ToString(); AN_PoupsProxy.showMessage("Gfit Send Complete", "Gift Send Result: " + result.code.ToString()); }
//-------------------------------------- // Static Methods //-------------------------------------- public static void ShowPreloader(string title, string message) { AN_PoupsProxy.ShowPreloader(title, message); }
private void OnAchievementUpdated(GP_AchievementResult result) { SA_StatusBar.text = "Achievment Updated: Id: " + result.achievementId + "\n status: " + result.Message; AN_PoupsProxy.showMessage("Achievment Updated ", "Id: " + result.achievementId + "\n status: " + result.Message); }
void OnDeviceTypeChecked() { AN_PoupsProxy.showMessage("Check for a TV Device Result", TVAppController.Instance.IsRuningOnTVDevice.ToString()); TVAppController.DeviceTypeChecked -= OnDeviceTypeChecked; }
void InternalStoragePathLoaded(string path) { AN_PoupsProxy.showMessage("Internal Storage Path:", path); AndroidNativeUtility.InternalStoragePathLoaded -= InternalStoragePathLoaded; }
private void OnRegstred() { AN_PoupsProxy.showMessage("Regstred", "GCM REG ID: " + GoogleCloudMessageService.instance.registrationId); }
//-------------------------------------- // GET/SET //-------------------------------------- //-------------------------------------- // EVENTS //-------------------------------------- private void OnRegFailed() { AN_PoupsProxy.showMessage("Reg Failed", "GCM Registration failed :("); }
private void OnMessageClose(AndroidDialogResult result) { AN_PoupsProxy.showMessage("Result", "Message Closed"); }
//-------------------------------------- // PUBLIC METHODS //-------------------------------------- public void init() { AN_PoupsProxy.showRateDialog(title, message, yes, later, no, AndroidNativeSettings.Instance.DialogTheme); }
private void OnStateDeleted(GoogleCloudResult result) { AN_PoupsProxy.showMessage("KeyDeleted", result.message + "\n for state key: " + result.stateKey.ToString()); }
private void OnStateUpdated(GoogleCloudResult result) { AN_PoupsProxy.showMessage("State Updated", result.message + "\n State ID: " + result.stateKey + "\n State Data: " + result.stateDataString); }
public override void ShowAndroidToast(string info) { //m_AndroidContext.Call("showToast", info); AN_PoupsProxy.ShowToast(info); }
public static void OpenAppRatingPage(string url) { AN_PoupsProxy.OpenAppRatePage(url); }
public static void HidePreloader() { AN_PoupsProxy.HidePreloader(); }
private void ActionOAuthTokenLoaded(string token) { AN_PoupsProxy.showMessage("Token Loaded", GooglePlayManager.Instance.loadedAuthToken); }
public void init(AndroidDialogTheme theme) { AN_PoupsProxy.showRateDialog(title, message, yes, later, no, theme); }
//-------------------------------------- // PUBLIC METHODS //-------------------------------------- public void init() { AN_PoupsProxy.showRateDialog(title, message, yes, later, no); }
private void OnQuestsAccepted(GP_QuestResult result) { AN_PoupsProxy.showMessage("On Quests Accepted", "Quests Accepted, ID: " + result.GetQuest().Id); SA_StatusBar.text = "OnQuestsAccepted: " + result.Response.ToString(); }
private void OnMessageLoaded() { AN_PoupsProxy.showMessage("Message Loaded", "Last GCM Message: " + GoogleCloudMessageService.instance.lastMessage); }
private void OnStateUpdated(CEvent e) { GoogleCloudResult result = e.data as GoogleCloudResult; AN_PoupsProxy.showMessage("State Updated", result.message + "\n State ID: " + result.stateKey + "\n State Data: " + result.stateDataString); }
private void OnNotificationIdLoaded(int notificationid) { AN_PoupsProxy.showMessage("Loaded", "App was laucnhed with notification id: " + notificationid); }
private void OnAllLoaded(CEvent e) { GoogleCloudResult result = e.data as GoogleCloudResult; AN_PoupsProxy.showMessage("All States Loaded", result.message + "\n" + "Total states: " + GoogleCloudManager.instance.states.Count); }
void OnContactsLoaded() { AddressBookController.OnContactsLoadedAction -= OnContactsLoaded; AN_PoupsProxy.showMessage("On Contacts Loaded", "Andress book has " + AddressBookController.Instance.contacts.Count + " Contacts"); }
public void ResetAllAchievements() { GooglePlayManager.Instance.ResetAllAchievements(); AN_PoupsProxy.showMessage("Reset Complete: ", "Reset Complete, but since this is feature for testing only, achievement data cache will be updated after next interaction with acheivment"); }
private void ResetAchievement() { GooglePlayManager.instance.ResetAchievement(INCREMENTAL_ACHIEVEMENT_ID); AN_PoupsProxy.showMessage("Reset Complete: ", "Reset Complete, but since this is feature for testing only, achievement data cache will be updated after next interaction with acheivment"); }
public override void ShowAndroidToast(string info) { AN_PoupsProxy.ShowToast(info); }