removablemedia_event_get_info()

Retrieve the Removable Media information structure from a REMOVABLEMEDIA_INFO event.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API removablemedia_info_t* removablemedia_event_get_info(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The REMOVABLEMEDIA_INFO event to get the Removable Media information structure from.

Library:

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

Description:

You call the removablemedia_event_get_info() function to retrieve the Removable Media information structure from a REMOVABLEMEDIA_INFO event. Details about the removable media can be determined using the removablemedia_info_get_*() functions. Do not use the removablemedia_free_info() function on this removablemedia_info_t pointer. The memory associated with the Removable Media information structure is valid as long as the event is valid and is freed internally by BlackBerry Platform Services (BPS).

Returns:

The Removable Media information structure.