Determine whether the removable media is write protected.
#include <bps/removablemedia.h>
BPS_API bool removablemedia_info_is_write_protected(removablemedia_info_t *info)
BlackBerry 10.2.0
The removablemedia_info_t structure to get the write protected status from.
The removablemedia_info_is_write_protected() function determines whether the removable media is hardware write protected from a removablemedia_info_t structure.
true if the removable media is write protected, false otherwise.