C# Класс BlinkIDDirectAPIDemo.MainPage

Main application page containing RecognizerControl
Наследование: PhoneApplicationPage
Показать файл Открыть проект

Открытые методы

Метод Описание
MainPage ( ) : System

Default construtor. Initializes photo chooser task

Защищенные методы

Метод Описание
OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void

Called when this page is navigated to.

OnNavigatingFrom ( System.Windows.Navigation.NavigatingCancelEventArgs e ) : void

Called when the user leaves this page.

Приватные методы

Метод Описание
Button_Click ( object sender, RoutedEventArgs e ) : void

Opens a photo chooser page on button click

ReenableButton ( ) : void

hides the "in progress" message and reenables the button

SetScanInProgress ( ) : void

displays the "in progress" message and disables the button

mRecognizer_OnScanningDone ( IList resultList, RecognitionType recognitionType ) : void

Handles completed scanning events. Navigates to results page if scanning was successful.

photoChooserTask_Completed ( object sender, PhotoResult e ) : void

When user chooses a photo starts the recognition process

Описание методов

MainPage() публичный Метод

Default construtor. Initializes photo chooser task
public MainPage ( ) : System
Результат System

OnNavigatedTo() защищенный Метод

Called when this page is navigated to.
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
Результат void

OnNavigatingFrom() защищенный Метод

Called when the user leaves this page.
protected OnNavigatingFrom ( System.Windows.Navigation.NavigatingCancelEventArgs e ) : void
e System.Windows.Navigation.NavigatingCancelEventArgs
Результат void