# GetStorageRemaining

## Description

Returns the number of MB available to the app for data storage at the specified path. For example using a path that points to a location on the sdcard on Android will return how many MBs can be stored there, whereas using a path that points to the AGK write folder will return the number of MB the app can store in its internal storage. In some cases these may be the same. This command returns -1 if the space available could not be determined. Currently only implemented on iOS and Android, other platforms will return -1.

## Definition

integer GetStorageRemaining( path )

int agk::GetStorageRemaining( const char *path )

## Parameters

- path - The path to check