예제 #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)
 {
 }