removablemedia_info_get_presence()

Retrieve the state of presence of the media.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

info

The removablemedia_info_t structure to get the presence from.

Library:

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

Description:

The removablemedia_info_get_presence() function retrieves the state of presence or availability of the removable media from a removablemedia_info_t structure.

Returns:

The presence as one of the values of the removablemedia_presence_t enumeration or BPS_FAILURE on error.