MediaStore.Video.Query(ContentResolver, Uri, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.