create_device


Description:

[ Version ( since = "0.1.8" ) ]
public async Device create_device (string id, ObjectScope scope, HashTable<string,string>? properties, Cancellable? cancellable) throws Error

Creates a color device.

Parameters:

this

a Client instance.

id

identifier for the device

scope

the scope of the device

properties

properties to set on the device, or null

cancellable

a Cancellable, or null

callback

the function to run on completion

user_data

the data to pass to callback