Start receiving Removable Media events.
#include <bps/removablemedia.h>
BPS_API int removablemedia_request_events(int flags)
BlackBerry 10.2.0
The types of events to deliver. A value of zero indicates that all events are requested. The meaning of non-zero values is reserved for future use.
The removablemedia_request_events() function starts to deliver Removable Media events to the application using BPS. Events will be posted to the currently active channel.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.