ChannelIdValue | Doclava
public class

ChannelIdValue

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.fido.u2f.api.common.ChannelIdValue

Class Overview

The Channel ID value used by the browser to communicate with the origin.

This parameter is optional, and missing if the browser doesn't support Channel ID. It is present and set to the constant 'unused' if the browser supports Channel ID, but is not using Channel ID to talk to the origin.

See also:

Summary

Nested Classes
enum ChannelIdValue.ChannelIdValueType The type of value stored by this ChannelIdValue. 
class ChannelIdValue.UnsupportedChannelIdValueTypeException Exception thrown when an unsupported or unrecognized ChannelIdValueType is encountered. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final ChannelIdValue ABSENT Used to indicate there is no TLS channel ID.
public static final ChannelIdValue UNAVAILABLE Used to indicate the client is aware of TLS channel ID, but that the value of its public key is unknown to this U2F client.
public static final ChannelIdValue UNUSED Used to indicate the client is aware of TLS channel ID, but has not used it with the server.
Public Constructors
ChannelIdValue(JSONObject value)
Public Methods
boolean equals(Object other)
JSONObject getObjectValue()
String getObjectValueAsString()
String getStringValue()
ChannelIdValue.ChannelIdValueType getType()
int getTypeAsInt()
int hashCode()
static ChannelIdValue.ChannelIdValueType toChannelIdValueType(int type)
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final ChannelIdValue ABSENT

Used to indicate there is no TLS channel ID.

public static final ChannelIdValue UNAVAILABLE

Used to indicate the client is aware of TLS channel ID, but that the value of its public key is unknown to this U2F client.

public static final ChannelIdValue UNUSED

Used to indicate the client is aware of TLS channel ID, but has not used it with the server.

Public Constructors

public ChannelIdValue (JSONObject value)

Parameters
value JSONObject

Public Methods

public boolean equals (Object other)

Parameters
other Object
Returns
boolean

public JSONObject getObjectValue ()

Returns
JSONObject

public String getObjectValueAsString ()

Returns
String

public String getStringValue ()

Returns
String

public int getTypeAsInt ()

Returns
int

public int hashCode ()

Returns
int

public static ChannelIdValue.ChannelIdValueType toChannelIdValueType (int type)

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int