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