Header menu logo fable-electron-docs-api

Collections Type

Constructors

Constructor Description

Collections(usage, usagePage, type, children, inputReports, outputReports, featureReports)

Full Usage: Collections(usage, usagePage, type, children, inputReports, outputReports, featureReports)

Parameters:
    usage : int - An integer representing the usage ID component of the HID usage associated with this collection.
    usagePage : int - An integer representing the usage page component of the HID usage associated with this collection.
    type : int - An 8-bit value representing the collection type, which describes a different relationship between the grouped items.
    children : obj[] - An array of sub-collections which takes the same format as a top-level collection.
    inputReports : obj[] - An array of inputReport items which represent individual input reports described in this collection.
    outputReports : obj[] - An array of outputReport items which represent individual output reports described in this collection.
    featureReports : obj[] - An array of featureReport items which represent individual feature reports described in this collection.

Returns: Collections
usage : int

An integer representing the usage ID component of the HID usage associated with this collection.

usagePage : int

An integer representing the usage page component of the HID usage associated with this collection.

type : int

An 8-bit value representing the collection type, which describes a different relationship between the grouped items.

children : obj[]

An array of sub-collections which takes the same format as a top-level collection.

inputReports : obj[]

An array of inputReport items which represent individual input reports described in this collection.

outputReports : obj[]

An array of outputReport items which represent individual output reports described in this collection.

featureReports : obj[]

An array of featureReport items which represent individual feature reports described in this collection.

Returns: Collections

Instance members

Instance member Description

this.children

Full Usage: this.children

An array of sub-collections which takes the same format as a top-level collection.

this.featureReports

Full Usage: this.featureReports

An array of featureReport items which represent individual feature reports described in this collection.

this.inputReports

Full Usage: this.inputReports

An array of inputReport items which represent individual input reports described in this collection.

this.outputReports

Full Usage: this.outputReports

An array of outputReport items which represent individual output reports described in this collection.

this.type

Full Usage: this.type

An 8-bit value representing the collection type, which describes a different relationship between the grouped items.

this.usage

Full Usage: this.usage

An integer representing the usage ID component of the HID usage associated with this collection.

this.usagePage

Full Usage: this.usagePage

An integer representing the usage page component of the HID usage associated with this collection.

Type something to start searching.