Language

Intent.ToURI Method

Definition

Caution

deprecated

Call #toUri with 0 flags.

[Android.Runtime.Register("toURI", "()Ljava/lang/String;", "GetToURIHandler")]
[System.Obsolete("deprecated")]
public virtual string? ToURI();
[<Android.Runtime.Register("toURI", "()Ljava/lang/String;", "GetToURIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member ToURI : unit -> string
override this.ToURI : unit -> string

Returns

A URI string representing the intent. The URI does not encode every possible intent field or extra.

Attributes

Remarks

Call #toUri with 0 flags.

This member is deprecated. Use #toUri instead.

Java documentation for android.content.Intent.toURI().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to