Enum SubscribeOptionFields

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      deliver
      Whether an entity wants to receive or disable notifications.
      digest
      Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually.
      digest_frequency
      The minimum number of seconds between sending any two notifications digests.
      expire
      Expire.
      include_body
      Whether an entity wants to receive an XMPP message body in addition to the payload format.
      show_values
      The presence states for which an entity wants to receive notifications.
      subscription_depth
      Subscription depth.
      subscription_type
      Subscription type.
    • Method Detail

      • values

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

        public static SubscribeOptionFields 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