# InterfaceType

public enum InterfaceType extends 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
private final EnumEntries<IDeviceCompat.InterfaceType> entries

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

name
Link copied to clipboard
private final String name
ordinal
Link copied to clipboard
private final Integer ordinal
value
Link copied to clipboard
private final Integer value

## Functions

getEntries
Link copied to clipboard
public final EnumEntries<IDeviceCompat.InterfaceType> getEntries()

Enum describing the supported connection interface types for Nix devices.

getName
Link copied to clipboard
public final String getName()
getOrdinal
Link copied to clipboard
public final Integer getOrdinal()
getValue
Link copied to clipboard
public final Integer getValue()
valueOf
Link copied to clipboard
public final IDeviceCompat.InterfaceType valueOf(String value)

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
public final Array<IDeviceCompat.InterfaceType> values()

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