Language

DocumentsProvider.GetTypeAnonymous(Uri) Method

Definition

An unrestricted version of getType, which does not reveal sensitive information

[Android.Runtime.Register("getTypeAnonymous", "(Landroid/net/Uri;)Ljava/lang/String;", "", ApiSince=34)]
public override sealed string? GetTypeAnonymous(Android.Net.Uri uri);
[<Android.Runtime.Register("getTypeAnonymous", "(Landroid/net/Uri;)Ljava/lang/String;", "", ApiSince=34)>]
override this.GetTypeAnonymous : Android.Net.Uri -> string

Parameters

uri
Uri

The URI matched against the provider's registered routes.

Returns

The single-root MIME type for a matched root URI, or null for other routes.

Attributes

Remarks

An unrestricted version of getType, which does not reveal sensitive information

Java documentation for android.provider.DocumentsProvider.getTypeAnonymous(android.net.Uri).

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