SQLiteDatabase.OpenParams.Builder.SetCursorFactory 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.
Set an optional factory class that is called to instantiate a cursor when query is called.
[Android.Runtime.Register("setCursorFactory", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", "", ApiSince=27)]
public Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder SetCursorFactory(Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? cursorFactory);
[<Android.Runtime.Register("setCursorFactory", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", "", ApiSince=27)>]
member this.SetCursorFactory : Android.Database.Sqlite.SQLiteDatabase.ICursorFactory -> Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder
Parameters
- cursorFactory
- SQLiteDatabase.ICursorFactory
instance. This value may be null.
Returns
same builder instance for chaining multiple calls into a single statement. This value cannot be null.
- Attributes
Remarks
Set an optional factory class that is called to instantiate a cursor when query is called.
Android reference for android.database.sqlite.SQLiteDatabase.OpenParams.Builder.setCursorFactory.
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.