Enum QQClient.QQScope

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ADD_ALBUM
      Create a new personal album in the user's QQZone album
      GET_TENPAY_ADDR
      Get the delivery address of Tenpay users
      GET_USER_INFO
      Get the nickname, avatar, and gender of the logged in user
      GET_VIP_INFO
      Get basic information about QQ VIP
      GET_VIP_RICH_INFO
      Get advanced information about QQ VIP
      LIST_ALBUM
      Get user QQZone album list
      LIST_PHOTO
      Get a list of photos in the user's QQZone album
      UPLOAD_PIC
      Upload a photo to the QQZone album
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static QQClient.QQScope valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static QQClient.QQScope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • GET_USER_INFO

        public static final QQClient.QQScope GET_USER_INFO
        Get the nickname, avatar, and gender of the logged in user
      • GET_VIP_INFO

        public static final QQClient.QQScope GET_VIP_INFO
        Get basic information about QQ VIP
      • GET_VIP_RICH_INFO

        public static final QQClient.QQScope GET_VIP_RICH_INFO
        Get advanced information about QQ VIP
      • LIST_ALBUM

        public static final QQClient.QQScope LIST_ALBUM
        Get user QQZone album list
      • UPLOAD_PIC

        public static final QQClient.QQScope UPLOAD_PIC
        Upload a photo to the QQZone album
      • ADD_ALBUM

        public static final QQClient.QQScope ADD_ALBUM
        Create a new personal album in the user's QQZone album
      • LIST_PHOTO

        public static final QQClient.QQScope LIST_PHOTO
        Get a list of photos in the user's QQZone album
      • GET_TENPAY_ADDR

        public static final QQClient.QQScope GET_TENPAY_ADDR
        Get the delivery address of Tenpay users
    • Method Detail

      • values

        public static QQClient.QQScope[] 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 (QQClient.QQScope c : QQClient.QQScope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QQClient.QQScope 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