示例#1
0
        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);
        }
示例#3
0
        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));
            }
        }
示例#4
0
 void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state)
 {
 }
示例#5
0
 void IStreamCallbacks.GetArchivingStateCallback(ErrorCode result, ArchivingState state)
 {
 }
示例#6
0
 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);
        }
示例#8
0
 void IBroadcastApiListener.GetArchivingStateCallback(ErrorCode result, ArchivingState state)
 {
 }