Partager via


DatabaseUtils.BlobFileDescriptorForQuery Method

Definition

Overloads

BlobFileDescriptorForQuery(SQLiteStatement, String[])

Utility method to run the pre-compiled query and return the blob value in the first column of the first row.

BlobFileDescriptorForQuery(SQLiteDatabase, String, String[])

Utility method to run the query on the db and return the blob value in the first column of the first row.

BlobFileDescriptorForQuery(SQLiteStatement, String[])

Utility method to run the pre-compiled query and return the blob value in the first column of the first row.

[Android.Runtime.Register("blobFileDescriptorForQuery", "(Landroid/database/sqlite/SQLiteStatement;[Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "")]
public static Android.OS.ParcelFileDescriptor? BlobFileDescriptorForQuery (Android.Database.Sqlite.SQLiteStatement? prog, string[]? selectionArgs);
[<Android.Runtime.Register("blobFileDescriptorForQuery", "(Landroid/database/sqlite/SQLiteStatement;[Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "")>]
static member BlobFileDescriptorForQuery : Android.Database.Sqlite.SQLiteStatement * string[] -> Android.OS.ParcelFileDescriptor

Parameters

selectionArgs
String[]

Returns

A read-only file descriptor for a copy of the blob value.

Attributes

Remarks

Utility method to run the pre-compiled query and return the blob value in the first column of the first row.

Java documentation for android.database.DatabaseUtils.blobFileDescriptorForQuery(android.database.sqlite.SQLiteStatement, 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

BlobFileDescriptorForQuery(SQLiteDatabase, String, String[])

Utility method to run the query on the db and return the blob value in the first column of the first row.

[Android.Runtime.Register("blobFileDescriptorForQuery", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "")]
public static Android.OS.ParcelFileDescriptor? BlobFileDescriptorForQuery (Android.Database.Sqlite.SQLiteDatabase? db, string? query, string[]? selectionArgs);
[<Android.Runtime.Register("blobFileDescriptorForQuery", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;", "")>]
static member BlobFileDescriptorForQuery : Android.Database.Sqlite.SQLiteDatabase * string * string[] -> Android.OS.ParcelFileDescriptor

Parameters

query
String
selectionArgs
String[]

Returns

A read-only file descriptor for a copy of the blob value.

Attributes

Remarks

Utility method to run the query on the db and return the blob value in the first column of the first row.

Java documentation for android.database.DatabaseUtils.blobFileDescriptorForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, 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