get_string_descriptor


Description:

[ Version ( since = "0.1.0" ) ]
public string get_string_descriptor (uint8 desc_index) throws Error

Get a string descriptor from the device.

The returned string should be freed with g_free when no longer needed.

Parameters:

desc_index

the index for the string descriptor to retrieve

Returns:

a newly-allocated string holding the descriptor, or NULL on error.