The members of Xamarin.Forms.Device are listed below.
See Also: Inherited members from System.Object
| [read-only] static | Idiom | TargetIdiom. Gets the kind of device Forms is currently working on. |
| [read-only] static | OS | TargetPlatform. Gets the marin.Forms.TargetPlatform indicating the OS Forms is working on. |
static | BeginInvokeOnMainThread(Action)Invokes an Action on the device main (UI) thread. | |
static | GetNamedSize(NamedSize, Type)Returns a double that represents the named size for the font that is used on the element on the native platform. | |
static | GetNamedSize(NamedSize, Element)Returns a double that represents a font size that corresponds to size on targetElement. | |
static | OnPlatform(Action, Action, Action, Action)Executes different Actions depending on the Xamarin.QcuikUI.TargetOS Forms is working on. | |
static | OnPlatform<T>(T, T, T)Returns different values depending on the Xamarin.Forms.TargetOS Forms is working on. | |
static | OpenUri(Uri)Request the device to open the Uri. | |
static | StartTimer(TimeSpan, Func<bool>)Starts a recurring timer using the device clock capabilities. | |