Freigeben über


StorageInfo.AliveNamespacesCount Property

Definition

Returns the number of namespaces that have at least one alive document in the current session's database.

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

Property Value

Attributes

Remarks

Returns the number of namespaces that have at least one alive document in the current session's database.

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.getAliveNamespacesCount().

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