Device.OpenUri(Uri) Method

Definition

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
Uri

The Uri to open.

Attributes

Remarks

This often navigates out of the application.

Applies to