Enum KiiSocialNetworkConnector.Provider

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FACEBOOK
      Use Facebook to authenticate
      GOOGLEPLUS
      Use GooglePlus to authenticate
      KII
      Use Kii to authenticate
      OPENID_CONNECT_SIMPLE
      Use Open ID provider configured for the App.
      QQ
      Use QQ to authenticate
      RESERVED1
      Reserved for internal use.
      SINA
      Use Sina Weibo to authenticate
      TWITTER
      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.
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • 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 name
        java.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 interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable