Dil

SQLiteDatabase.OpenParams.Builder.SetJournalMode(String) Method

Definition

Sets journal mode to use.

[Android.Runtime.Register("setJournalMode", "(Ljava/lang/String;)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", "", ApiSince=28)]
public Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder SetJournalMode(string journalMode);
[<Android.Runtime.Register("setJournalMode", "(Ljava/lang/String;)Landroid/database/sqlite/SQLiteDatabase$OpenParams$Builder;", "", ApiSince=28)>]
member this.SetJournalMode : string -> Android.Database.Sqlite.SQLiteDatabase.OpenParams.Builder

Parameters

journalMode
String

Value is one of the following: SQLiteDatabase.JOURNAL_MODE_WAL; SQLiteDatabase.JOURNAL_MODE_PERSIST; SQLiteDatabase.JOURNAL_MODE_TRUNCATE; SQLiteDatabase.JOURNAL_MODE_MEMORY; SQLiteDatabase.JOURNAL_MODE_DELETE; SQLiteDatabase.JOURNAL_MODE_OFF. This value cannot be null.

Returns

Attributes

Remarks

Sets journal mode to use.

Note: If journal mode is not set, the platform will use a manufactured-specified default which can vary across devices.

Android reference for android.database.sqlite.SQLiteDatabase.OpenParams.Builder.setJournalMode.

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