Ejemplo n.º 1
0
    /// <summary>
    /// uses BlockingPanel
    /// </summary>
    public async UniTask Start(UniTask operation)
    {
        await BlockingPanel.Show();

        try
        {
            await operation;
            BlockingPanel.Hide();
        }
        catch (BadUserInputException) //todo test if you can get bad user input exc here
        {
            BlockingPanel.Done("operation is not allowed");
            throw;
        }
    }
Ejemplo n.º 2
0
 private void OnHuaweiLoginFailure(HMSException exc)
 {
     BlockingPanel.Done("failed huawei login with exception: " + exc);
 }