Class AvatarData


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

    This class is immutable.

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

      • AvatarData

        public AvatarData​(byte[] data)
        Parameters:
        data - The image data.
    • Method Detail

      • getData

        public final byte[] getData()
        Gets the image data.
        Returns:
        The image data.