internal Call(Phone phone) { this.phone = phone; Init(); m_core = SCFCore.Instance.m_core; m_core_telephoneService = SCFCore.Instance.m_core_telephoneService; }
private void UnRegisterToCore() { if (!isRegisteredToCore) { return; } m_core.m_CallbackEvent -= OnCoreCallBack; m_core = null; isRegisteredToCore = false; }
private void RegisterToCore() { if (isRegisteredToCore) { return; } m_core = SCFCore.Instance.m_core; m_core.m_CallbackEvent += OnCoreCallBack; isRegisteredToCore = true; }
private void RegisterToCore() { if (isRegisteredToCore) { return; } m_core = SCFCore.Instance.m_core; m_core.m_CallbackEvent += OnCoreCallBack; m_core.setApplicationIntegrationProperties(this.clientId, this.clientSecret, this.scope, this.redirectUri); isRegisteredToCore = true; }