![]() |
Halyri - Mobiili
0.9
|
Here is where the connection happens visualy. When connection is taken to process by emergency exchange handler navigates to Connected.xaml. User can turn GPS on and toggle NoSound. More...
Public Member Functions | |
void | InitializeComponent () |
InitializeComponent More... | |
void | InitializeComponent () |
InitializeComponent More... | |
void | InitializeComponent () |
InitializeComponent More... | |
void | InitializeComponent () |
InitializeComponent More... | |
Urgent () | |
If gps is not enabled shows gps switch. Connection goes to own thread so UI thread does not get blocked. More... | |
Protected Member Functions | |
override void | OnNavigatedTo (NavigationEventArgs e) |
if navigationservice url contains "NotUrgent", changes priority to not urgent so in connection it can determine it to server. More... | |
Private Member Functions | |
void | Connect () |
Connects using connection class and sends priority, personalinfo, deviceinfo and phones location. Connection class handles what information is send to server. More... | |
void | connection_ConnectionFailedEvent () |
void | NotConnectedThread () |
void | connection_ConnectedEvent () |
Invokes ui thread when connected. More... | |
void | ConnectedUiThread () |
Navigates to connected.xaml. Adds no sound to url if it is checked. Also removes backentry so it wont come back to this view from connected.xaml More... | |
void | GPSToggle_Checked (object sender, RoutedEventArgs e) |
Saves gps settings to true. More... | |
void | GPSToggle_Unchecked (object sender, RoutedEventArgs e) |
Saves gps settings to false. More... | |
void | CantMakeNoiseTextBox_Tap (object sender, System.Windows.Input.GestureEventArgs e) |
Switchs checkbox value. More... | |
void | CantMakeNoiseCheckBox_Checked (object sender, RoutedEventArgs e) |
Changes canMakeNoiseBool value to false. More... | |
void | CantMakeNoiseCheckBox_Unchecked (object sender, RoutedEventArgs e) |
Changes canMakeNoiseBool to true. More... | |
void | CancelButton_Click (object sender, RoutedEventArgs e) |
Changes connectionabort to true so it wont navigate to connnected.xaml and then navigates back. More... | |
Private Attributes | |
bool | _contentLoaded |
Settings | settings = new Settings() |
bool | canMakeNoiseBool = true |
Connection | connection |
bool | ConnectionAborted = false |
PhoneCallTask | phoneCallTask |
UpdateConnectionPriorityRequest | priority |
String | emergencyType |
Here is where the connection happens visualy. When connection is taken to process by emergency exchange handler navigates to Connected.xaml. User can turn GPS on and toggle NoSound.
Halyri.Urgent.Urgent | ( | ) |
If gps is not enabled shows gps switch. Connection goes to own thread so UI thread does not get blocked.
|
private |
Changes connectionabort to true so it wont navigate to connnected.xaml and then navigates back.
|
private |
Changes canMakeNoiseBool value to false.
|
private |
Changes canMakeNoiseBool to true.
|
private |
Switchs checkbox value.
|
private |
Connects using connection class and sends priority, personalinfo, deviceinfo and phones location. Connection class handles what information is send to server.
|
private |
Navigates to connected.xaml. Adds no sound to url if it is checked. Also removes backentry so it wont come back to this view from connected.xaml
|
private |
Invokes ui thread when connected.
|
private |
|
private |
Saves gps settings to true.
|
private |
Saves gps settings to false.
void Halyri.Urgent.InitializeComponent | ( | ) |
InitializeComponent
void Halyri.Urgent.InitializeComponent | ( | ) |
InitializeComponent
void Halyri.Urgent.InitializeComponent | ( | ) |
InitializeComponent
void Halyri.Urgent.InitializeComponent | ( | ) |
InitializeComponent
|
private |
|
protected |
if navigationservice url contains "NotUrgent", changes priority to not urgent so in connection it can determine it to server.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |