|  | SpellTrainView Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: RavingBots.MagicGestures.UI.Views
 Syntax
Syntaxpublic class SpellTrainView : View
The SpellTrainView type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | SpellTrainView | Initializes a new instance of the SpellTrainView class | 
 Properties
Properties Methods
Methods| Name | Description | |
|---|---|---|
|  | GetTrainingProgress | 
                Get the current training progress.
             | 
|  | GoBack | 
                Called when user presses the back button.
            (Overrides ViewGoBack.) | 
|  | OnGesture | 
                Called after the user performs a gesture, to capture a sample.
             | 
|  | ResetTraining | 
                Reset the training progress.
             | 
|  | RunTraining | 
                Save the spell in the book and start the training.
             | 
|  | SetVisible | 
                Change the visibility of the view.
            (Overrides ViewSetVisible(Boolean, Boolean).) | 
|  | Update | 
                Update the visual state when the training is running.
             | 
|  | UpdateSamplesProgress | 
                Update the text and the progress bar for the captured samples.
             | 
|  | UpdateTrainingProgress | 
                Update the text and the progress bar for the training.
             | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | _samples | 
                The captured samples.
             | 
|  | PreviewSlot | 
                The gesture preview slot.
             | 
|  | SamplesLabel | 
                The label for the number of captured samples.
             | 
|  | SamplesProgress | 
                The progress bar for captured samples.
             | 
|  | TrainingLabel | 
                The label for the training progress.
             | 
|  | TrainingProgress | 
                The progress bar for the training.
             | 
 See Also
See Also