ContactPhoto

Inheritance: java.lang.Object

public class ContactPhoto

Represents contact photo.

Constructors

Constructor Description
ContactPhoto(byte[] data, int photoImageFormat) Initializes a new instance of the ContactPhoto class

Methods

Method Description
getId() Gets object identification information
getPhotoImageFormat() Gets a photo type.
getData() Gets an image data.

ContactPhoto(byte[] data, int photoImageFormat)

public ContactPhoto(byte[] data, int photoImageFormat)

Initializes a new instance of the ContactPhoto class

Parameters:

Parameter Type Description
data byte[] Image data of photo.
photoImageFormat int Image format of photo MapiContactPhotoImageFormat.

getId()

public final ObjectIdentifier getId()

Gets object identification information

Returns: ObjectIdentifier

getPhotoImageFormat()

public final int getPhotoImageFormat()

Gets a photo type.

Returns: int

getData()

public final byte[] getData()

Gets an image data.

Returns: byte[]