# GetStorageTotal

## Description

Returns the total number of MB of data storage at the specified path, used and unused. For example using a path that points to a location on the sdcard on Android will return the size of the sdcard, whereas using a path that points to the AGK write folder will return the number of MB in the internal storage. In some cases these may be the same. This command returns -1 if the storage size could not be determined. Currently only implemented on iOS and Android, other platforms will return -1.

## Definition

integer GetStorageTotal( path )

int agk::GetStorageTotal( const char *path )

## Parameters

- path - The path to check