コード例 #1
0
 public static MessengeQueue GetInstance(Activity act = null)
 {
     if (instance == null)
     {
         instance = new MessengeQueue(act);
     }
     return(instance);
 }
コード例 #2
0
 public SMSBroadcastReceiver(Context context)
 {
     Log.Info(TAG, "test contructor broadcast service");
     _messengeQueue = Model.MessengeQueue.GetInstance();
     _config        = Config.Instance();
     _context       = context;
     //_activity = act;
     ttsLib = TextToSpeechLib.Instance();
     _stt   = STTLib.Instance();
 }