public SpheroSpeechViewModel(ISpheroParentViewModel parent) : base(parent) { Cirrious.MvvmCross.Plugins.Speech.PluginLoader.Instance.EnsureLoaded(); SpeechAvailable = this.TryGetService(out _speechListener); if (_speechListener != null) { BuildActions(); HeardSoFar = new ObservableCollection<string>(); _speechListener.Heard += SpeechListenerOnHeard; } }
public SpheroSpeechViewModel(ISpheroParentViewModel parent) : base(parent) { Cirrious.MvvmCross.Plugins.Speech.PluginLoader.Instance.EnsureLoaded(); SpeechAvailable = this.TryGetService(out _speechListener); if (_speechListener != null) { BuildActions(); HeardSoFar = new ObservableCollection <string>(); _speechListener.Heard += SpeechListenerOnHeard; } }
public SpheroMovementViewModel(ISpheroParentViewModel parent) : base(parent) { }
public SpheroColorViewModel(ISpheroParentViewModel parent) : base(parent) { _color = new MvxColor(0); }
protected BaseSpheroMovementViewModel(ISpheroParentViewModel parent) : base(parent) { Position = new CartesianPositionParameters(); }
public SpheroHeadingViewModel(ISpheroParentViewModel parent) : base(parent) { }
public SpheroSetupViewModel(ISpheroParentViewModel parent) : base(parent) { }
public SpheroAccelMovementViewModel(ISpheroParentViewModel parent) : base(parent) { Cirrious.MvvmCross.Plugins.Accelerometer.PluginLoader.Instance.EnsureLoaded(); }
protected BaseSpheroChildViewModel(ISpheroParentViewModel parent) { Parent = parent; _speedService = this.GetService<ISpheroSpeedService>(); }
protected BaseSpheroChildViewModel(ISpheroParentViewModel parent) { Parent = parent; _speedService = this.GetService <ISpheroSpeedService>(); }