コード例 #1
0
        private ProjectKoraiTelephonyPlugin(MyPhonePlugins.IMyPhoneCallHandler callHandler)
        {
            this.callHandler = callHandler;

            callHandler.OnCallStatusChanged += new MyPhonePlugins.CallInfoHandler(callHandler_OnCallStatusChanged);
            callHandler.OnMyPhoneStatusChanged += new MyPhonePlugins.MyPhoneStatusHandler(callHandler_OnMyPhoneStatusChanged);
        }
コード例 #2
0
 public static void Loader(MyPhonePlugins.IMyPhoneCallHandler callHandler)
 {
     lock (lockObj)
     {
         instance = new CallTriggerCmdPlugin(callHandler);
         instance.StartServiceAsync();
     }
 }
コード例 #3
0
        // Constructor for plugin, to add event handler
        private SalesForce(MyPhonePlugins.IMyPhoneCallHandler callHandler)
        {
            this.callHandler = callHandler;

            callHandler.OnCallStatusChanged += new MyPhonePlugins.CallInfoHandler(callHandler_OnCallStatusChanged);
        }
コード例 #4
0
 public static void Loader(MyPhonePlugins.IMyPhoneCallHandler callHandler)
 {
     instance = new SalesForce(callHandler);
 }