Udostępnij za pośrednictwem


SQLiteDatabase.OpenParams.IdleConnectionTimeout Property

Definition

Returns maximum number of milliseconds that SQLite connection is allowed to be idle before it is closed and removed from the pool.

public long IdleConnectionTimeout { [Android.Runtime.Register("getIdleConnectionTimeout", "()J", "", ApiSince=27)] get; }
[<get: Android.Runtime.Register("getIdleConnectionTimeout", "()J", "", ApiSince=27)>]
member this.IdleConnectionTimeout : int64

Property Value

timeout in milliseconds or -1 if the value wasn't set.

Attributes

Remarks

Returns maximum number of milliseconds that SQLite connection is allowed to be idle before it is closed and removed from the pool.

If the value isn't set, the timeout defaults to the system wide timeout

Java documentation for android.database.sqlite.SQLiteDatabase.OpenParams.getIdleConnectionTimeout().

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