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;
     }
 }
示例#3
0
 public SpheroMovementViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
 }
示例#4
0
 public SpheroColorViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
     _color = new MvxColor(0);
 }
 protected BaseSpheroMovementViewModel(ISpheroParentViewModel parent) : base(parent)
 {
     Position = new CartesianPositionParameters();
 }
示例#6
0
 public SpheroColorViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
     _color = new MvxColor(0);
 }
 public SpheroHeadingViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
 }
 public SpheroMovementViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
 }
示例#9
0
 public SpheroSetupViewModel(ISpheroParentViewModel parent) : base(parent)
 {
 }
 public SpheroAccelMovementViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
     Cirrious.MvvmCross.Plugins.Accelerometer.PluginLoader.Instance.EnsureLoaded();
 }
 protected BaseSpheroMovementViewModel(ISpheroParentViewModel parent) : base(parent)
 {
     Position = new CartesianPositionParameters();
 }
 protected BaseSpheroChildViewModel(ISpheroParentViewModel parent)
 {
     Parent = parent;
     _speedService = this.GetService<ISpheroSpeedService>();
 }
示例#13
0
 public SpheroAccelMovementViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
     Cirrious.MvvmCross.Plugins.Accelerometer.PluginLoader.Instance.EnsureLoaded();
 }
 public SpheroHeadingViewModel(ISpheroParentViewModel parent)
     : base(parent)
 {
 }
示例#15
0
 public SpheroSetupViewModel(ISpheroParentViewModel parent) : base(parent)
 {
 }
 protected BaseSpheroChildViewModel(ISpheroParentViewModel parent)
 {
     Parent        = parent;
     _speedService = this.GetService <ISpheroSpeedService>();
 }