Transport Stay organized with collections Save and categorize content based on your preferences.
Page Summary
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.
The transport between the authenticator and the client.
Nested Class Summary
| class | Transport.UnsupportedTransportException | Exception thrown when an unsupported or unrecognized transport is encountered. | |
Inherited Constant Summary
| int | CONTENTS_FILE_DESCRIPTOR | |
| int | PARCELABLE_WRITE_RETURN_VALUE |
Inherited Method Summary
| 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 |
| abstractOptional<? extends ConstantDesc> | describeConstable() |
| abstract int | compareTo(Transport arg0) |
| 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.