Credential

public final class Credential 
implements Parcelable 

Represents a user credential that can be used to authenticate to your app.

Summary

Public fields

static final @ NonNull Parcelable.Creator <@ NonNull Credential >

Public constructors

Credential (@ NonNull String  type, @ NonNull Bundle  data)

constructs an instance of Credential

Public methods

final int
final @ NonNull Bundle
getData ()

the data associated with the credential

final @ NonNull String
getType ()

the type of the credential

void
writeToParcel (@ NonNull Parcel  dest, int flags)

Public fields

CREATOR

public static final @ NonNull 
 Parcelable.Creator 
<@ NonNull 
 Credential 
 CREATOR 

Public constructors

Credential

public  Credential 
(@ NonNull 
 String 
 type, @ NonNull 
 Bundle 
 data)

constructs an instance of Credential

Parameters
@ NonNull String  type

the type of the credential

@ NonNull Bundle  data

the data associated with the credential

Public methods

describeContents

public final int  describeContents 
()

getData

public final @ NonNull 
 Bundle 
 getData 
()

the data associated with the credential

getType

public final @ NonNull 
 String 
 getType 
()

the type of the credential

writeToParcel

public void  writeToParcel 
(@ NonNull 
 Parcel 
 dest, int flags)
Create a Mobile Website
View Site in Mobile | Classic
Share by: