public class ContactPhoto extends Object
Represents contact photo.
| Constructor and Description |
|---|
ContactPhoto(byte[] data,
int photoImageFormat)
Initializes a new instance of the
ContactPhoto class |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Gets an image data.
|
ObjectIdentifier |
getId()
Gets object identification information
|
int |
getPhotoImageFormat()
Gets a photo type.
|
public ContactPhoto(byte[] data,
int photoImageFormat)
Initializes a new instance of the ContactPhoto class
data - Image data of photo.photoImageFormat - Image format of photo MapiContactPhotoImageFormat.public final ObjectIdentifier getId()
Gets object identification information
public final int getPhotoImageFormat()
Gets a photo type.
public final byte[] getData()
Gets an image data.