Return the number of media records stored inside a smart poster record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_get_sp_media_count(const nfc_ndef_record_t *sp_rec, unsigned int *count)
BlackBerry 10.0.0
The smart poster record containing the embedded media records in its payload. Chunked NDEF records are not supported.
The number of media records.
This function returns, if available, the number of media records embedded inside the smart poster NDEF record payload.
NFC_RESULT_SUCCESS, otherwise NFC_RESULT_INVALID_PARAMETER to indicate that a parameter is invalid, or that the provided NDEF record is chunked.