Example #1
0
        static public PhoneCallState GetInstance()
        {
            if (offhookState == null)
            {
                offhookState = new PhoneCallOffhook();
            }

            return(offhookState);
        }
Example #2
0
 public PhoneCallState Offhook()
 {
     PhoneStatLog.GetInstance().LogPhone(DateTime.Now.ToString(), "0");
     return(PhoneCallOffhook.GetInstance());
 }
Example #3
0
 public PhoneCallState Offhook()
 {
     PhoneStatLog.GetInstance().LogPhone(DateTime.Now.ToString(), "2");
     //Log.Debug("X:" + typeof(PhoneCallReceiver).Name, "1: Incoming call answered.");
     return(PhoneCallOffhook.GetInstance());
 }
Example #4
0
 public PhoneCallState Offhook()
 {
     return(PhoneCallOffhook.GetInstance());
 }