# InterfaceType

enum InterfaceType : Enum<IDeviceCompat.InterfaceType>

Enum describing the supported connection interface types for Nix devices.

## Entries

UNDEFINED
Link copied to clipboard
UNDEFINED

Device does not have a defined connection type.

BLE
Link copied to clipboard
BLE

Device connects via Bluetooth (BLE) interface.

USB_CDC
Link copied to clipboard
USB_CDC

Device connects via USB interface.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<IDeviceCompat.InterfaceType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
val value: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): IDeviceCompat.InterfaceType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<IDeviceCompat.InterfaceType>

Returns an array containing the constants of this enum type, in the order they're declared.