C# Class OS2Indberetning.GpsPage

Page that is shown when trying the GPS signal
Inheritance: Xamarin.Forms.ContentPage, IDisposable
Afficher le fichier Open project: os2indberetning/OS2_Windows_Phone

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnBackButtonPressed ( ) : bool

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

Private Methods

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

Method Details

Dispose() public méthode

Destructor
public Dispose ( ) : void
Résultat void

GpsPage() public méthode

Constructor that handles initialization of the page
public GpsPage ( ) : System
Résultat System

HandleNoGpsError() public méthode

Method that handles a NoGpsError timeout from the viewmodel Reinitializes the toggle button and shows error popup
public HandleNoGpsError ( ) : void
Résultat void

HandlePauseError() public méthode

Method that handles a PauseError from the viewmodel Reinitializes the toggle button and shows error popup
public HandlePauseError ( ) : void
Résultat void

HandleStartButtonNotPressable() public méthode

Method that handles a NoGpsError from the viewmodel Reinitializes the toggle button and shows error popup
public HandleStartButtonNotPressable ( ) : void
Résultat void

HandleStartButtonPressable() public méthode

Method that handles that gps signal returned from the viewmodel Reinitializes the toggle button and shows error popup
public HandleStartButtonPressable ( ) : void
Résultat void

OnBackButtonPressed() protected méthode

Method that overrides the BackbuttonPressed event. Calls SendBackMessage so that the logic is handles by the viewmodel
protected OnBackButtonPressed ( ) : bool
Résultat bool

SetContent() public méthode

Method that creates the page content
public SetContent ( ) : View
Résultat Xamarin.Forms.View