C# Класс OS2Indberetning.GpsPage

Page that is shown when trying the GPS signal
Наследование: Xamarin.Forms.ContentPage, IDisposable
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Destructor

GpsPage ( ) : System

Constructor that handles initialization of the page

HandleNoGpsError ( ) : void

Method that handles a NoGpsError timeout from the viewmodel Reinitializes the toggle button and shows error popup

HandlePauseError ( ) : void

Method that handles a PauseError from the viewmodel Reinitializes the toggle button and shows error popup

HandleStartButtonNotPressable ( ) : void

Method that handles a NoGpsError from the viewmodel Reinitializes the toggle button and shows error popup

HandleStartButtonPressable ( ) : void

Method that handles that gps signal returned from the viewmodel Reinitializes the toggle button and shows error popup

SetContent ( ) : View

Method that creates the page content

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

Метод Описание
OnBackButtonPressed ( ) : bool

Method that overrides the BackbuttonPressed event. Calls SendBackMessage so that the logic is handles by the viewmodel

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

Метод Описание
ClosePopup ( ) : void

Method that closes the popup

CreatePopup ( ) : StackLayout

Method that creates the stacklayout for the popup

NoGpsTimeoutPopUp ( ) : StackLayout

Method that creates and opens a popup for noGpsTimeout error

OpenPopup ( ) : void

Method that opens the popup

PauseSpaceTooBigPopUp ( ) : StackLayout

Method that creates and opens a popup for pause error

SendFinishMessage ( ) : void

Method that handles sending a finish message

SendFinishedHomeMessage ( ) : void

Method that handles sending a togglefinishedhome message

SendFirstFinishedHomeMessage ( ) : void

Method that handles sending a togglefirstfinishedhome message

SendHereMessage ( ) : void

Method that handles sending a here message

SendToggleMessage ( ) : void

Method that handles sending a toggle message

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

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

Destructor
public Dispose ( ) : void
Результат void

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

Constructor that handles initialization of the page
public GpsPage ( ) : System
Результат System

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

Method that handles a NoGpsError timeout from the viewmodel Reinitializes the toggle button and shows error popup
public HandleNoGpsError ( ) : void
Результат void

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

Method that handles a PauseError from the viewmodel Reinitializes the toggle button and shows error popup
public HandlePauseError ( ) : void
Результат void

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

Method that handles a NoGpsError from the viewmodel Reinitializes the toggle button and shows error popup
public HandleStartButtonNotPressable ( ) : void
Результат void

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

Method that handles that gps signal returned from the viewmodel Reinitializes the toggle button and shows error popup
public HandleStartButtonPressable ( ) : void
Результат void

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

Method that overrides the BackbuttonPressed event. Calls SendBackMessage so that the logic is handles by the viewmodel
protected OnBackButtonPressed ( ) : bool
Результат bool

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

Method that creates the page content
public SetContent ( ) : View
Результат Xamarin.Forms.View