次の方法で共有


StorageStats.AppBytes Property

Definition

Return the size of app.

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

Property Value

Attributes

Remarks

Return the size of app. This includes APK files, optimized compiler output, and unpacked native libraries.

If the primary external/shared storage is hosted on this storage device, then this includes files stored under Context#getObbDir().

Code is shared between all users on a multiuser device.

Java documentation for android.app.usage.StorageStats.getAppBytes().

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