Share via


MediaStore.Video.Query(ContentResolver, Uri, String[]) Method

Definition

This member is deprecated.

[Android.Runtime.Register("query", "(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;)Landroid/database/Cursor;", "")]
public static Android.Database.ICursor? Query (Android.Content.ContentResolver? cr, Android.Net.Uri? uri, string[]? projection);
[<Android.Runtime.Register("query", "(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;)Landroid/database/Cursor;", "")>]
static member Query : Android.Content.ContentResolver * Android.Net.Uri * string[] -> Android.Database.ICursor

Parameters

uri
Uri
projection
String[]

Returns

Attributes

Remarks

This member is deprecated. all queries should be performed through ContentResolver directly, which offers modern features like CancellationSignal.

Java documentation for android.provider.MediaStore.Video.query(android.content.ContentResolver, android.net.Uri, java.lang.String[]).

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