Function rs2_get_notification_serialized_data

Function Documentation

const char *rs2_get_notification_serialized_data(rs2_notification *notification, rs2_error **error)

retrieve serialized data from notification handle

Parameters:
  • notification[in] handle returned from a callback

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

the serialized data (in JSON format)