set_metadata


Description:

public static void set_metadata (string longname, string classification, string description, string author)

Sets the detailed information for a DeviceProvider.

> This function is for use in _class_init functions only.

Parameters:

longname

The long English name of the device provider. E.g. "File Sink"

classification

String describing the type of device provider, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"

description

Sentence describing the purpose of the device provider. E.g: "Write stream to a file"

author

Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"

klass

class to set metadata for