removablemedia_info_get_type()

Retrieve the type of the underlying device.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API int removablemedia_info_get_type(removablemedia_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The removablemedia_info_t structure to get the type from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The removablemedia_info_get_type() function retrieves the type of the underlying device from a removablemedia_info_t structure.

Returns:

The type as one of the values of the removablemedia_type_t enumeration or BPS_FAILURE on error.