Compartilhar via


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
System.Uri

The System.Uri to open.

Attributes
System.ObsoleteAttribute

Remarks

This often navigates out of the application.

Applies to