com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ContactPhoto

  • Direct Known Subclasses:
    MapiContactPhoto


    public class ContactPhoto
    extends Object

    Represents contact photo.

    • Constructor Detail

      • ContactPhoto

        public ContactPhoto(byte[] data,
                    int photoImageFormat)

        Initializes a new instance of the ContactPhoto class

        Parameters:
        data - Image data of photo.
        photoImageFormat - Image format of photo MapiContactPhotoImageFormat.
    • Method Detail

      • getId

        public final ObjectIdentifier getId()

        Gets object identification information

      • getPhotoImageFormat

        public final int getPhotoImageFormat()

        Gets a photo type.

      • getData

        public final byte[] getData()

        Gets an image data.