public void PlayRecord(ChatInfoEvent voice) { // trigger to download DownloadChat(voice.VoiceName, voice.VoiceDate); // and try to play Debuger.Log("play voice " + voice.VoiceDate + voice.VoiceName); }
private void HandleChat(ChatInfoEvent chat) { PlayRecord(chat); }