Function rs2_supports_frame_metadata

Function Documentation

int rs2_supports_frame_metadata(const rs2_frame *frame, rs2_frame_metadata_value frame_metadata, rs2_error **error)

determine device metadata

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

  • frame_metadata[in] the metadata to check for support

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

Returns:

true if device has this metadata