GUsb.Device.set_interface_alt

### Method

# GUsb Deviceset_interface_alt

#### Declaration

    gboolean
    g_usb_device_set_interface_alt (
      GUsbDevice* self,
      gint iface,
      guint8 alt,
      GError** error
    )

#### Description

Sets an alternate setting on an interface.

Available since: | 0.2.8

#### Parameters

`iface` | `gint`
| BInterfaceNumber of the interface you wish to release.
`alt` | `guint8`
| Alternative setting number.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` on success.