AxisCommunications / acap-native-sdk-examples

Example code for APIs and features in AXIS Camera Application Platform (ACAP) Native SDK
Apache License 2.0
39 stars 22 forks source link

AxEventValueSet getKeys #212

Closed Cacsjep closed 3 months ago

Cacsjep commented 4 months ago

I suppose the EventKeyValueSet is a hashmap, so it would be very handy If there a function to get all keys in a EventKeyValueSet.

AXEventKeyValueSet *set = ax_event_key_value_set_new()
GList* keys = set.get_keys()

I build a golang wrapper for AXEvent and I would like suscribe to all Device Events for example, this function would help me to dynamically parse the KeyValueSet.

Also for Debugging would this be helpful. Or an iterater would even better.

Thanks