コード例 #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);
     }
 }
コード例 #2
0
 public async override void EHPickerTapped(string fieldName)
 {
     if (fieldName == nameof(Model.DeviceType))
     {
         await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked);
     }
 }
コード例 #3
0
 public async void UnlockStorageAndGetAccessKey()
 {
     if (!SecureStorage.IsSetup)
     {
         await ViewModelNavigation.NavigateAndPickAsync <SetStoragePasswordViewModel>(this, StorageUnlocked, CancelCredentialsEntry);
     }
     else
     {
         await ViewModelNavigation.NavigateAndPickAsync <UnlockStorageViewModel>(this, StorageUnlocked, CancelCredentialsEntry);
     }
 }
コード例 #4
0
 public async void SelectDeviceType()
 {
     await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked);
 }
コード例 #5
0
 public async void PromptForAccessKey()
 {
     await ViewModelNavigation.NavigateAndPickAsync <PasswordEntryViewModel>(this, SetAccessKey, CancelCredentialsEntry);
 }
コード例 #6
0
 public void SetLocation()
 {
     ViewModelNavigation.NavigateAndPickAsync <DeviceMapViewModel>(this, (location) =>
     {
     });
 }