Język

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

cr
ContentResolver

The resolver used to execute the video query.

uri
Uri

The URI passed to the resolver as the query target.

projection
String[]

The requested result-column names, passed unchanged to the resolver.

Returns

The cursor returned by the resolver query.

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