Skip to main content
Version: 8.5.x

bfgutils.bfgDiskUtils Class

Helpful utility methods for retrieving information about the device's storage. More...

Static Public Member Functions

static long availableDiskSpace ()
 Get amount of available space in internal storage. More...
 

Detailed Description

Helpful utility methods for retrieving information about the device's storage.
Since
6.8

Member Function Documentation

◆ availableDiskSpace()

static long com.bigfishgames.bfglib.bfgutils.bfgDiskUtils.availableDiskSpace ()
inlinestatic
Get amount of available space in internal storage. Android also has an 'external' storage that requires a read permission, so it is not implemented here.
Returns
Free internal space on disk, in bytes