pub type PropertyValueCallback = Option<unsafe extern "C" fn(key: *const c_char, value: *const c_char, last: bool, context: *mut c_void)>;
Expand description

Callback type called every time another key-value pair of device information is ready

Arguments

  • key[in] - device information type identifier
  • value[in] - device information value
  • last[in] - whether the passed key-value pair is the last one
  • context[in] - to pass to callback