Gjsify LogoGjsify Logo

The #SpiceUsbDevice struct is opaque and cannot be accessed directly.

record

Hierarchy

  • UsbDevice

Index

Constructors

Properties

name: string

Methods

  • getDescription(format: string): string
  • Get a string describing the device which is suitable as a description of the device for the end user. The returned string should be freed with g_free() when no longer needed.

    The format positional parameters are the following:

    1. %s manufacturer
    2. %s product
    3. %s descriptor (a [vendor_id:product_id] string)
    4. %d bus
    5. %d address

    (the default format string is "%s %s %s at %d-%d")

    Parameters

    • format: string

      an optional printf() format string with positional parameters

    Returns string

  • getLibusbDevice(): object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method