Attachment | Doclava
public final enum

Attachment

extends Enum<Attachment>
implements Parcelable
java.lang.Object
   ↳ java.lang.Enum<com.google.android.gms.fido.fido2.api.common.Attachment>
     ↳ com.google.android.gms.fido.fido2.api.common.Attachment

Class Overview

Clients may communicate with authenticators using a variety of mechanisms. We define authenticators that are part of the client's platform as having a platform attachment, and refer to them as platform authenticators. While those that are reachable via cross-platform transport protocols are defined as having cross-platform attachment, and refer to them as roaming authenticators.

Summary

Nested Classes
class Attachment.UnsupportedAttachmentException Exception thrown when an unsupported or unrecognized attachment is encountered. 
Enum Values
Attachment  CROSS_PLATFORM   
Attachment  PLATFORM   
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
int describeContents()
static Attachment fromString(String value)
String toString()
static Attachment valueOf(String name)
static final Attachment[] values()
void writeToParcel(Parcel parcel, int flags)
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable
From interface android.os.Parcelable

Enum Values

public static final Attachment CROSS_PLATFORM

public static final Attachment PLATFORM

Public Methods

public int describeContents ()

Returns
int

public static Attachment fromString (String value)

Parameters
value String
Returns
Attachment
Throws
Attachment.UnsupportedAttachmentException

public String toString ()

Returns
String

public static Attachment valueOf (String name)

Parameters
name String
Returns
Attachment

public static final Attachment[] values ()

Returns
Attachment[]

public void writeToParcel (Parcel parcel, int flags)

Parameters
parcel Parcel
flags int