Class DiscoverInfo.Identity

    • Constructor Detail

      • Identity

        public Identity​(String category,
                        String type)
        Creates a new identity for an XMPP entity.
        Parameters:
        category - the entity's category (required as per XEP-30).
        type - the entity's type (required as per XEP-30).
      • Identity

        public Identity​(String category,
                        String name,
                        String type)
        Creates a new identity for an XMPP entity. 'category' and 'type' are required by XEP-30 XML Schemas
        Parameters:
        category - the entity's category (required as per XEP-30).
        name - the entity's name.
        type - the entity's type (required as per XEP-30).
      • Identity

        public Identity​(String category,
                        String type,
                        String name,
                        String lang)
        Creates a new identity for an XMPP entity. 'category' and 'type' are required by XEP-30 XML Schemas
        Parameters:
        category - the entity's category (required as per XEP-30).
        type - the entity's type (required as per XEP-30).
        name - the entity's name.
        lang - the entity's lang.