public class TwitterAuthConfig
extends Object
implements Parcelable
| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<TwitterAuthConfig> |
CREATOR |
static int |
DEFAULT_AUTH_REQUEST_CODE
The default request code to use for Single Sign On.
|
| Constructor and Description |
|---|
TwitterAuthConfig(String consumerKey,
String consumerSecret) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
int |
getRequestCode() |
void |
writeToParcel(Parcel out,
int flags) |
public static final int DEFAULT_AUTH_REQUEST_CODE
Activity.onActivityResult(int, int, android.content.Intent)public static final Parcelable.Creator<TwitterAuthConfig> CREATOR
public TwitterAuthConfig(String consumerKey,
String consumerSecret)
consumerKey - The consumer key.consumerSecret - The consumer secret.IllegalArgumentException - if consumer key or consumer secret is null.public String getConsumerKey()
public String getConsumerSecret()
public int getRequestCode()
Activity.onActivityResult(int, int, android.content.Intent)
when the activity exits.public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel out,
int flags)
writeToParcel in interface Parcelable