Udostępnij za pośrednictwem


Intent.UriIntentScheme Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.IntentUriType enum directly instead of this field.

Flag for use with #toUri and #parseUri: the URI string always has the "intent:" scheme.

[Android.Runtime.Register("URI_INTENT_SCHEME")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.IntentUriType enum directly instead of this field.", true)]
public const Android.Content.IntentUriType UriIntentScheme = 1;
[<Android.Runtime.Register("URI_INTENT_SCHEME")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.IntentUriType enum directly instead of this field.", true)>]
val mutable UriIntentScheme : Android.Content.IntentUriType

Field Value

Value = 1

Implements

Attributes

Remarks

Flag for use with #toUri and #parseUri: the URI string always has the "intent:" scheme. This syntax can be used when you want to later disambiguate between URIs that are intended to describe an Intent vs. all others that should be treated as raw URIs. When used with #parseUri, any other scheme will result in a generic VIEW action for that raw URI.

Java documentation for android.content.Intent.URI_INTENT_SCHEME.

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