C# Class OS2Indberetning.GpsPage

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

Public Methods

Method 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

Protected Methods

Method Description
OnBackButtonPressed ( ) : bool

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

Private Methods

Method 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 method

Destructor
public Dispose ( ) : void
return void

GpsPage() public method

Constructor that handles initialization of the page
public GpsPage ( ) : System
return System

HandleNoGpsError() public method

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

HandlePauseError() public method

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

HandleStartButtonNotPressable() public method

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

HandleStartButtonPressable() public method

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

OnBackButtonPressed() protected method

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

SetContent() public method

Method that creates the page content
public SetContent ( ) : View
return Xamarin.Forms.View