cap_from_string


Description:

public static SensorCap cap_from_string (string sensor_cap)

Gets the sensor capability as a enumerated value.

Parameters:

sensor_cap

the sensor capability, e.g. 'projector'.

Returns:

a SensorCap




2022 vala-language.org