NT_SetTopicProperties

Function NT_SetTopicProperties 

Source
pub unsafe extern "C" fn NT_SetTopicProperties(
    topic: NT_Topic,
    properties: *const WPI_String,
) -> NT_Bool
Expand description

Updates multiple topic properties. Each key in the passed-in JSON object is the name of the property to add/update, and the corresponding value is the property value to set for that property. Null values result in deletion of the corresponding property.

§Parameters

  • topic: topic handle
  • properties: JSON object string with keys to add/update/delete

§Returns

False if properties are not a valid JSON object