FwupdPlugin.UdevDevice.new
Description: Reference for FwupdPlugin.UdevDevice.new

### Constructor

# FwupdPlugin UdevDevicenew

#### Declaration [src]

    FuUdevDevice*
    fu_udev_device_new (
      FuContext* ctx,
      GObject* udev_device
    )

#### Description [src]

Creates a new `FuUdevDevice`.

Available since: | 1.8.2

#### Parameters

`ctx` | `FuContext`
| A `FuContext`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`udev_device` | `GObject`
| A `GUdevDevice`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `FuUdevDevice`
| A `FuUdevDevice`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.