Retrieve the amount of the total capacity of the removable media that is free.
#include <bps/removablemedia.h>
BPS_API long long removablemedia_info_get_free_space(removablemedia_info_t *info)
BlackBerry 10.2.0
The removablemedia_info_t structure to get the free space from.
The removablemedia_info_get_free_space() function retrieves the amount of total capacity of the removable media that is free from a removablemedia_info_t structure. The free space is reported in Mebibytes (MiB) where 1 MiB = 1024*1024 bytes.
The amount of free space on the removable media or BPS_FAILURE on error.