C# Класс HueApp.MainPage

The main page for the Hue app controls.
Наследование: Windows.UI.Xaml.Controls.Page, INotifyPropertyChanged
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
BluetoothWatcher_Click void
DisableWatcher void
EnableWatcherAsync System.Threading.Tasks.Task
LightRefresh_Click void

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

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

Constructor for MainPage.

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

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

Fires when the page is navigated to, which occurs after the extended splash screen has finished loading all Hue resources.

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

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

Fires when the Bluetooth watcher app bar toggle button is clicked.

DisableWatcher ( ) : void

Disables the background watcher.

EnableWatcherAsync ( ) : System.Threading.Tasks.Task

Registers the Bluetooth LE watcher background task, assuming Bluetooth is available.

LightRefresh_Click ( object sender, RoutedEventArgs e ) : void

Refreshes the UI to match the actual state of the lights.

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

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

Constructor for MainPage.
public MainPage ( ) : HueLibrary
Результат HueLibrary

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

Fires when the page is navigated to, which occurs after the extended splash screen has finished loading all Hue resources.
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Результат void