protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Enrollment); SetControlHandlers(); _recorder = new LowLevelRecorder(); _isRecording = false; _haveRecording = false; HandleButtonState(); _api = new SpeakerRecognitionApiWrapper(Constants.SPEAKER_RECOGNITION_ACCOUNT_KEY); ShowAvailableEnrollmentPhrases(); GetOrCreateProfileId(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.Login); SetControlHandlers(); _recorder = new LowLevelRecorder(); _isRecording = false; _haveRecording = false; btnLogin.Enabled = false; HandleRecordingButtonState(); _api = new SpeakerRecognitionApiWrapper(Constants.SPEAKER_RECOGNITION_ACCOUNT_KEY); GetProfileId(); }