C# 클래스 SensorbergSimpleApp.MainPage

Application main page.
상속: Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk

공개 프로퍼티들

프로퍼티 타입 설명
LogEntryItemCollectionProperty Windows.UI.Xaml.DependencyProperty

Private Properties

프로퍼티 타입 설명
AddLogEntry void
OnBeaconActionResolvedAsync void
OnBeaconEventAsync void
OnFailedToResolveBeaconActionAsync void
OnScannerStatusChangedAsync void
OnToggleBackgroundTaskButtonClicked void
SetBackgroundTaskEnabledAsync void

공개 메소드들

메소드 설명
MainPage ( ) : SensorbergSDK

Constructor.

보호된 메소드들

메소드 설명
OnNavigatedTo ( NavigationEventArgs e ) : void

비공개 메소드들

메소드 설명
AddLogEntry ( string message ) : void
OnBeaconActionResolvedAsync ( object sender, BeaconAction e ) : void

Handles incoming beacon actions, when the application is running.

OnBeaconEventAsync ( object sender, BeaconEventArgs e ) : void

Called when the scanner detects a beacon.

OnFailedToResolveBeaconActionAsync ( object sender, string e ) : void

Normally we would not care about this, but for demonstrative purposes lets log these events too.

OnScannerStatusChangedAsync ( object sender, ScannerStatus e ) : void

Called when the status of the scanner is changed.

OnToggleBackgroundTaskButtonClicked ( object sender, RoutedEventArgs e ) : void

Enables/disables the background task.

SetBackgroundTaskEnabledAsync ( bool enabled ) : void

메소드 상세

MainPage() 공개 메소드

Constructor.
public MainPage ( ) : SensorbergSDK
리턴 SensorbergSDK

OnNavigatedTo() 보호된 메소드

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
리턴 void

프로퍼티 상세

LogEntryItemCollectionProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml LogEntryItemCollectionProperty
리턴 Windows.UI.Xaml.DependencyProperty