C# 클래스 BlinkIDDirectAPIDemo.MainPage

Main application page containing RecognizerControl
상속: PhoneApplicationPage
파일 보기 프로젝트 열기: BlinkID/blinkid-windowsPhone

공개 메소드들

메소드 설명
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