Example #1
0
        public void UnLoad()
        {
            if (instance == null)
            {
                return;
            }

            Phone.GetInstance(null).UnRegisterToCore();
            m_core.exit();
            m_core.Dispose();
            instance = null;
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Spark"/>,with an Authenticator class.
 /// </summary>
 /// <param name="authenticator">The authenticator strategy for this SDK</param>
 /// <remarks>Since: 0.1.0</remarks>
 public Spark(IAuthenticator authenticator)
 {
     this.Authenticator = authenticator;
     m_core             = SCFCore.Instance;
 }