Freigeben über


BlobStoreManager.RemainingLeaseQuotaBytes Property

Definition

Return the remaining quota size for acquiring a lease (in bytes) which indicates the remaining amount of data that an app can acquire a lease on before the System starts rejecting lease requests.

public virtual long RemainingLeaseQuotaBytes { [Android.Runtime.Register("getRemainingLeaseQuotaBytes", "()J", "GetGetRemainingLeaseQuotaBytesHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getRemainingLeaseQuotaBytes", "()J", "GetGetRemainingLeaseQuotaBytesHandler", ApiSince=30)>]
member this.RemainingLeaseQuotaBytes : int64

Property Value

the remaining quota size for acquiring a lease.

Attributes

Remarks

Return the remaining quota size for acquiring a lease (in bytes) which indicates the remaining amount of data that an app can acquire a lease on before the System starts rejecting lease requests.

If an app wants to acquire a lease on a blob but the remaining quota size is not sufficient, then it can try releasing leases on any older blobs which are not needed anymore.

Java documentation for android.app.blob.BlobStoreManager.getRemainingLeaseQuotaBytes().

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