C# Class SensorbergSimpleApp.MainPage

Application main page.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: sensorberg-dev/windows10-sdk

Méthodes publiques

Свойство Type Description
LogEntryItemCollectionProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
AddLogEntry void
OnBeaconActionResolvedAsync void
OnBeaconEventAsync void
OnFailedToResolveBeaconActionAsync void
OnScannerStatusChangedAsync void
OnToggleBackgroundTaskButtonClicked void
SetBackgroundTaskEnabledAsync void

Méthodes publiques

Méthode Description
MainPage ( ) : SensorbergSDK

Constructor.

Méthodes protégées

Méthode Description
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Méthode Description
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

Method Details

MainPage() public méthode

Constructor.
public MainPage ( ) : SensorbergSDK
Résultat SensorbergSDK

OnNavigatedTo() protected méthode

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

Property Details

LogEntryItemCollectionProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LogEntryItemCollectionProperty
Résultat Windows.UI.Xaml.DependencyProperty