Class UM_Preloader
Class allows to show preloader and lock application screen.
Inheritance
System.Object
UM_Preloader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.CrossPlatform.UI
Assembly: cs.temp.dll.dll
Syntax
public static class UM_Preloader
Methods
LockScreen(String)
Locks the screen and displays a preloader spinner.
Declaration
public static void LockScreen(string progressBarText = "Please Wait..")
Parameters
Type | Name | Description |
---|---|---|
System.String | progressBarText | The text will be used if system lock screen dialog has a label where text can be assigned. |
UnlockScreen()
Unlocks the screen and hide a preloader spinner In case there is no preloader displayed, method does nothing
Declaration
public static void UnlockScreen()