Share via


StorageInfo.AliveDocumentsCount Property

Definition

Returns the number of alive documents in the current session.

public virtual int AliveDocumentsCount { [Android.Runtime.Register("getAliveDocumentsCount", "()I", "GetGetAliveDocumentsCountHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getAliveDocumentsCount", "()I", "GetGetAliveDocumentsCountHandler", ApiSince=31)>]
member this.AliveDocumentsCount : int

Property Value

Attributes

Remarks

Returns the number of alive documents in the current session.

Alive documents are documents that haven't been deleted and haven't exceeded the ttl as set in GenericDocument.Builder#setTtlMillis.

Java documentation for android.app.appsearch.StorageInfo.getAliveDocumentsCount().

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