Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Method that handles cleanup of the viewmodel
|
|
GpsIsAvailable ( ) : void |
Method to do stuff when gps is not available
|
|
GpsNotAvailable ( ) : void |
Method to do stuff when gps is not available
|
|
GpsViewModel ( ) : System |
Constructor that handles initialization of the viewmodel
|
|
HandleAppearedMessage ( object sender ) : void |
Method that handles the Appeared message
|
|
HandleFinishDriveMessage ( ) : void |
Method that handles the FinishDrive message
|
|
HandleStopGpsMessage ( ) : void |
Method that handles the StopGps message
|
|
HandleToggleGpsMessage ( ) : void |
Method that handles the ToggleGps message
|
|
PauseDistanceTooBig ( double distance ) : void |
Method that handles sending a PauseError
|
|
PositionChanged ( object sender, XLabs.Platform.Services.Geolocation.PositionEventArgs e ) : void |
Method that handles change in positions from the gps signal
|
|
SetAccuracy ( double dist = null ) : void |
Method to help with setting the correct text for Accuracy
|
|
SetupGps ( ) : void |
Method that does the initial gps setup
|
|
TestForAvailibility ( ) : void |
Method that checks for gps signal
|
|
TestGpsSignalTimer ( ) : void |
Method that checks for gps signal when the gps in on pause The cause of this is to notify the user of gps signal even when he isnt tracking
|
|
Timer ( ) : void |
Method that handles that tracks if gps signal have been missing for 30 seconds
|
Méthode | Description | |
---|---|---|
OnPropertyChanged ( string propertyName ) : void |
Méthode | Description | |
---|---|---|
CountDown ( ) : void |
Method that does a countdown on the screen. Also makes sure the gps isnt tracked while countdown is active
|
|
HandleBackMessage ( ) : void |
Method that handles the Back message
|
|
PositionError ( object sender, XLabs.Platform.Services.Geolocation.PositionErrorEventArgs e ) : void |
Method that gets called when an error event is triggered in the locator
|
|
Subscribe ( ) : void |
Method that handles subscribing to the needed messages
|
|
Unsubscribe ( ) : void |
Method that handles unsubscribing
|
public HandleAppearedMessage ( object sender ) : void | ||
sender | object | |
Résultat | void |
protected OnPropertyChanged ( string propertyName ) : void | ||
propertyName | string | |
Résultat | void |
public PauseDistanceTooBig ( double distance ) : void | ||
distance | double | |
Résultat | void |
public PositionChanged ( object sender, XLabs.Platform.Services.Geolocation.PositionEventArgs e ) : void | ||
sender | object | |
e | XLabs.Platform.Services.Geolocation.PositionEventArgs | |
Résultat | void |
public SetAccuracy ( double dist = null ) : void | ||
dist | double | |
Résultat | void |