from_variant


Description:

[ Version ( since = "1.0.0" ) ]
public static Device from_variant (Variant value)

Creates a new device using packed data.

Parameters:

value

a Variant

Returns:

a new Device, or null if value was invalid