Пример #1
0
 // Stop Record
 public void StopRecord()
 {
     if (SessionCtr.IsRecording)
     {
         SessionCtr.NextStatus = "stopRecord";
         SessionCtr.UpdateSession(GetAccessToken(), SessionCtr.RecordingName, SessionCtr.RecordingNote, SessionCtr.RecordingSubject);
     }
 }
Пример #2
0
 // Start Record
 public void StartRecord(string recordName, string recordSubject, string recordNote)
 {
     if (SessionCtr.IsCreateSession)
     {
         SessionCtr.NextStatus       = "startRecord";
         SessionCtr.RecordingName    = recordName;
         SessionCtr.RecordingSubject = recordSubject;
         SessionCtr.RecordingNote    = recordNote;
         SessionCtr.UpdateSession(GetAccessToken(), recordName, recordNote, recordSubject);
     }
 }