Enum KiiSocialNetworkConnector.Provider
- java.lang.Object
-
- java.lang.Enum<KiiSocialNetworkConnector.Provider>
-
- com.kii.cloud.storage.social.connector.KiiSocialNetworkConnector.Provider
-
- All Implemented Interfaces:
android.os.Parcelable
,java.io.Serializable
,java.lang.Comparable<KiiSocialNetworkConnector.Provider>
- Enclosing class:
- KiiSocialNetworkConnector
public static enum KiiSocialNetworkConnector.Provider extends java.lang.Enum<KiiSocialNetworkConnector.Provider> implements android.os.Parcelable
Supported social network.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FACEBOOK
Use Facebook to authenticateGOOGLEPLUS
Use GooglePlus to authenticateKII
Use Kii to authenticateOPENID_CONNECT_SIMPLE
Use Open ID provider configured for the App.QQ
Use QQ to authenticateRESERVED1
Reserved for internal use.SINA
Use Sina Weibo to authenticateTWITTER
Use Twitter to authenticate
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<KiiSocialNetworkConnector.Provider>
CREATOR
Generates instances of Parcelable class from a Parcel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.lang.String
getAuthRequestContentType()
This method is intended for use in internal purposes.java.lang.String
getLinkRequestContentType()
This method is intended for use in internal purposes.java.lang.String
getProviderLinkedSocialNetworkName()
This method is intended for use in internal purposes.java.lang.String
getProviderName()
This method is intended for use in internal purposes.static KiiSocialNetworkConnector.Provider
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KiiSocialNetworkConnector.Provider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Enum Constant Detail
-
FACEBOOK
public static final KiiSocialNetworkConnector.Provider FACEBOOK
Use Facebook to authenticate
-
TWITTER
public static final KiiSocialNetworkConnector.Provider TWITTER
Use Twitter to authenticate
-
GOOGLEPLUS
public static final KiiSocialNetworkConnector.Provider GOOGLEPLUS
Use GooglePlus to authenticate
-
SINA
public static final KiiSocialNetworkConnector.Provider SINA
Use Sina Weibo to authenticate
-
QQ
public static final KiiSocialNetworkConnector.Provider QQ
Use QQ to authenticate
-
OPENID_CONNECT_SIMPLE
public static final KiiSocialNetworkConnector.Provider OPENID_CONNECT_SIMPLE
Use Open ID provider configured for the App. It is configurable only with Kii Cloud Enterprise subscription.
-
RESERVED1
public static final KiiSocialNetworkConnector.Provider RESERVED1
Reserved for internal use.
-
KII
public static final KiiSocialNetworkConnector.Provider KII
Use Kii to authenticate
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<KiiSocialNetworkConnector.Provider> CREATOR
Generates instances of Parcelable class from a Parcel.
-
-
Method Detail
-
values
public static KiiSocialNetworkConnector.Provider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KiiSocialNetworkConnector.Provider c : KiiSocialNetworkConnector.Provider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KiiSocialNetworkConnector.Provider valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getProviderName
@NonNull public java.lang.String getProviderName()
This method is intended for use in internal purposes.- Returns:
-
getLinkRequestContentType
@NonNull public java.lang.String getLinkRequestContentType()
This method is intended for use in internal purposes.- Returns:
-
getAuthRequestContentType
@NonNull public java.lang.String getAuthRequestContentType()
This method is intended for use in internal purposes.- Returns:
-
getProviderLinkedSocialNetworkName
@NonNull public java.lang.String getProviderLinkedSocialNetworkName()
This method is intended for use in internal purposes.- Returns:
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-