Example #1
0
        public async Task <bool> InitializeAsync()
        {
            // Initialize the configuration reader
            await _configurationReader.InitializeAsync();

            // Initialize the idmanager
            var idManagerOk = await _userIdManager.InitializeAsync();

            if (!idManagerOk)
            {
                return(false);
            }

            // Initialize the oxfordclient
            await _oxfordClient.InitializeAsync();

            // Initialize ImageCapturer
            await _imageCapture.InitializeAsync();

            // Initialize message transmitter
            await _messageTransmitter.InitializeAsync();

            // Start our timer
            InitializeAndStartTimer();

            // All done
            return(true);
        }