예제 #1
0
        protected override async Task OnInitializedAsync()
        {
            await Task.Delay(500);

            _showingDesktop = false;
            await OnToggleCamera.InvokeAsync();
        }
예제 #2
0
 private async Task ToggleDesktopCamera()
 {
     if (_showingDesktop)
     {
         await OnToggleDesktop.InvokeAsync();
     }
     else
     {
         await OnToggleCamera.InvokeAsync();
     }
 }