void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { m_ArchivingState = state; if (Error.Failed(result)) { //string err = Error.GetString(result); //ReportWarning(string.Format("ArchivingStateDoneCallback got failure: {0}", err)); } }
protected void UnityIosArchivingStateCallback(string message) { LitJson.JsonReader reader = new LitJson.JsonReader(message); Dictionary <string, string> dict = new Dictionary <string, string>(); reader.Read(); JsonReadFlatObjectIntoDictionary(reader, dict); ErrorCode status = (ErrorCode)Enum.Parse(typeof(ErrorCode), dict["Status"]); ArchivingState state = new ArchivingState(); state.CureUrl = dict["CureUrl"]; state.RecordingEnabled = dict["RecordingEnabled"] != "0"; ArchivingStateDoneCallback(status, state); }
void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { m_ArchivingState = state; if (Error.Failed(result)) { //string err = Error.GetString(result); //ReportWarning(string.Format("ArchivingStateDoneCallback got failure: {0}", err)); } }
void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { }
void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { }
void IBroadcastApiListener.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { }
protected void UnityIosArchivingStateCallback(string message) { LitJson.JsonReader reader = new LitJson.JsonReader(message); Dictionary<string, string> dict = new Dictionary<string, string>(); reader.Read(); JsonReadFlatObjectIntoDictionary(reader, dict); ErrorCode status = (ErrorCode)Enum.Parse(typeof(ErrorCode), dict["Status"]); ArchivingState state = new ArchivingState(); state.CureUrl = dict["CureUrl"]; state.RecordingEnabled = dict["RecordingEnabled"] != "0"; ArchivingStateDoneCallback(status, state); }
void IBroadcastApiListener.GetArchivingStateCallback(ErrorCode result, ArchivingState state) { }