Språk

SQLiteDatabase.OpenParams.Builder.SetSynchronousMode(String) Method

Definition

Sets synchronous mode

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

Parameters

syncMode
String

Value is one of the following: SQLiteDatabase.SYNC_MODE_EXTRA; SQLiteDatabase.SYNC_MODE_FULL; SQLiteDatabase.SYNC_MODE_NORMAL; SQLiteDatabase.SYNC_MODE_OFF. This value cannot be null.

Returns

Attributes

Remarks

Sets synchronous mode

Note: If sync 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.setSynchronousMode.

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