Transport

  • Transport is an enum that describes the connection between an authenticator and a client and implements the Parcelable interface.

  • It includes a nested class, UnsupportedTransportException, for handling errors related to unsupported transports.

  • Transport defines enum values for various connection types, such as BLUETOOTH_CLASSIC, BLUETOOTH_LOW_ENERGY, HYBRID, INTERNAL, NFC, and USB.

  • This enum inherits methods from java.lang.Enum, java.lang.Object, java.lang.constant.Constable, java.lang.Comparable, and android.os.Parcelable.

public final enumTransport extendsEnum<Transport>
implementsParcelable

The transport between the authenticator and the client.

Nested Class Summary

class Transport.UnsupportedTransportExceptionException thrown when an unsupported or unrecognized transport is encountered. 

Inherited Constant Summary

From interface android.os.Parcelable
intCONTENTS_FILE_DESCRIPTOR
intPARCELABLE_WRITE_RETURN_VALUE

Inherited Method Summary

From class java.lang.Enum
finalObject
clone()
final int
compareTo(Transport arg0)
int
compareTo(Object arg0)
finalOptional<EnumDesc<Transport>>
describeConstable()
final boolean
equals(Object arg0)
final void
finalize()
finalClass<Transport>
getDeclaringClass()
final int
hashCode()
finalString
name()
final int
ordinal()
String
toString()
static <T extends Enum<T>> T
valueOf(Class<T> arg0,String arg1)
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
From interface java.lang.constant.Constable
abstractOptional<? extends ConstantDesc>
describeConstable()
From interface java.lang.Comparable
abstract int
compareTo(Transport arg0)
From interface android.os.Parcelable
abstract int
describeContents()
abstract void
writeToParcel(Parcel arg0, int arg1)

Enum Values

public static final TransportBLUETOOTH_CLASSIC

public static final TransportBLUETOOTH_LOW_ENERGY

public static final TransportHYBRID

public static final TransportINTERNAL

public static final TransportNFC

public static final TransportUSB

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.