Baconit.PanelManager.SetStatusBar C# (CSharp) Метод

SetStatusBar() публичный Метод

Sets the status bar color for mobile.
public SetStatusBar ( System.Color color = null, double opacity = 1 ) : Task
color System.Color
opacity double
Результат Task
        public async Task<double> SetStatusBar(Color? color = null, double opacity = 1)
        {
            // This is broken into two functions to work around an OS bug. On some builds of windows
            // the StatusBar object cant be found at all, so if we try to make one on the stack before
            // we check if it exits.
            if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
            {
                return await SetStatusBar_Internal(color, opacity);
            }
            return 0;
        }