The methods of Xamarin.Forms.Device are listed below. For a list of all members, see the Device Members list.
See Also: Inherited members from System.Object
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. | |