get_sample
Description:
[ Version ( since = "0.1.8" ) ]
public async ColorXYZ get_sample (SensorCap cap, Cancellable? cancellable) throws Error
public async ColorXYZ get_sample (SensorCap cap, Cancellable? cancellable) throws Error
Gets a color sample from a sensor
Parameters:
this |
a Sensor instance. |
cap | |
cancellable |
a Cancellable, or null |
callback |
the function to run on completion |
user_data |
the data to pass to |