Ejemplo n.º 1
0
 public async void ResetPassword()
 {
     if (await Popups.ConfirmAsync(Resources.SimulatorCoreResources.UnlockPassword_ResetPassword_Title, Resources.SimulatorCoreResources.UnlockPassword_ResetPassword_Prompt))
     {
         await ViewModelNavigation.NavigateAndPickAsync <SetStoragePasswordViewModel>(this, StorageUnlocked, CancelCredentialsEntry);
     }
 }
Ejemplo n.º 2
0
 public async override void EHPickerTapped(string fieldName)
 {
     if (fieldName == nameof(Model.DeviceType))
     {
         await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked);
     }
 }
Ejemplo n.º 3
0
 public async void UnlockStorageAndGetAccessKey()
 {
     if (!SecureStorage.IsSetup)
     {
         await ViewModelNavigation.NavigateAndPickAsync <SetStoragePasswordViewModel>(this, StorageUnlocked, CancelCredentialsEntry);
     }
     else
     {
         await ViewModelNavigation.NavigateAndPickAsync <UnlockStorageViewModel>(this, StorageUnlocked, CancelCredentialsEntry);
     }
 }
Ejemplo n.º 4
0
 public async void SelectDeviceType()
 {
     await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked);
 }
Ejemplo n.º 5
0
 public async void PromptForAccessKey()
 {
     await ViewModelNavigation.NavigateAndPickAsync <PasswordEntryViewModel>(this, SetAccessKey, CancelCredentialsEntry);
 }
Ejemplo n.º 6
0
 public void SetLocation()
 {
     ViewModelNavigation.NavigateAndPickAsync <DeviceMapViewModel>(this, (location) =>
     {
     });
 }