Device.OpenUri(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
OpenUri is obsolete as of version 4.3.0. Use Launcher.OpenAsync (or CanOpenAsync, or TryOpenAsync) from Xamarin.Essentials instead.
Request the device to open the Uri.
[System.Obsolete("OpenUri is obsolete as of version 4.3.0. Use Launcher.OpenAsync (or CanOpenAsync, or TryOpenAsync) from Xamarin.Essentials instead.")]
public static void OpenUri (Uri uri);
static member OpenUri : Uri -> unit
Parameters
- uri
- System.Uri
The System.Uri to open.
- Attributes
-
System.ObsoleteAttribute
Remarks
This often navigates out of the application.