Class AvatarMetadata


  • public final class AvatarMetadata
    extends Object
    The implementation of the <metadata/> element in the urn:xmpp:avatar:metadata namespace.

    This class is immutable.

    See Also:
    XEP-0084: User Avatar, XML Schema
    • Constructor Detail

      • AvatarMetadata

        public AvatarMetadata​(AvatarMetadata.Info... info)
        Parameters:
        info - The info elements.
      • AvatarMetadata

        public AvatarMetadata​(Object pointer,
                              AvatarMetadata.Info... info)
        Parameters:
        pointer - The pointer object. Note that it must be known to the JAXB context.
        info - The info elements.
    • Method Detail

      • getPointer

        public final Object getPointer()
        Specifies information about how to retrieve the avatar from a third party service.
        Returns:
        The pointer object.
        See Also:
        4.2.2 Pointer Element