예제 #1
0
        public async Task OnModeChangedAsync(PhotoControlMode newMode)
        {
            switch (newMode)
            {
            case PhotoControlMode.Unauthorised:
                break;

            case PhotoControlMode.Grid:
                await this.StartListeningForFiltersAsync();

                break;

            case PhotoControlMode.Capture:
                await this.StartListeningForCheeseAsync();

                break;

            default:
                break;
            }
        }
예제 #2
0
 public async Task OnModeChangedAsync(PhotoControlMode newMode)
 {
   switch (newMode)
   {
     case PhotoControlMode.Unauthorised:
       break;
     case PhotoControlMode.Grid:
       await this.StartListeningForFiltersAsync();
       break;
     case PhotoControlMode.Capture:
       await this.StartListeningForCheeseAsync();
       break;
     default:
       break;
   }
 }