Android.Content.ContentResolver.GetStreamTypes Method
Query for the possible MIME types for the representations the given content URL can be returned when opened as as stream with ContentResolver.OpenTypedAssetFileDescriptor(Android.Net.Uri, System.String, System.String).

Syntax

[Android.Runtime.Register("getStreamTypes", "(Landroid/net/Uri;Ljava/lang/String;)[Ljava/lang/String;", "GetGetStreamTypes_Landroid_net_Uri_Ljava_lang_String_Handler")]
public virtual string[] GetStreamTypes (Android.Net.Uri url, string mimeTypeFilter)

Parameters

url
A Uri identifying content (either a list or specific type), using the content:// scheme.
mimeTypeFilter
The desired MIME type. This may be a pattern, such as */*, to query for all available MIME types that match the pattern.

Returns

Documentation for this section has not yet been entered.

Remarks

Query for the possible MIME types for the representations the given content URL can be returned when opened as as stream with ContentResolver.OpenTypedAssetFileDescriptor(Android.Net.Uri, System.String, System.String). Note that the types here are not necessarily a superset of the type returned by ContentResolver.GetType(Android.Net.Uri) -- many content providers cannot return a raw stream for the structured data that they contain.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11