void Message() { if (MultiLanguage.GetCurrentLanguage() == "EN" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(3, null, null, "EN"); } if (MultiLanguage.GetCurrentLanguage() == "ML" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(3, null, null, "ML"); } if (MultiLanguage.GetCurrentLanguage() == "IN" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(3, null, null, "IN"); } }
async void LastMessage() { if (MultiLanguage.GetCurrentLanguage() == "EN" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(10, null, null, "EN"); } if (MultiLanguage.GetCurrentLanguage() == "ML" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(10, null, null, "ML"); } if (MultiLanguage.GetCurrentLanguage() == "IN" && Constants.IsVoiceEnabled) { TVMUtility.PlayVoice(10, null, null, "IN"); } if (Constants.IsVoiceEnabled) { await Task.Delay(5000); } }