MapiContactPhoto

Inheritance: java.lang.Object, com.aspose.email.ContactPhoto

public final class MapiContactPhoto extends ContactPhoto

Contains data and type of contact’s photo.

Constructors

ConstructorDescription
MapiContactPhoto(byte[] data, int photoImageFormat)Initializes a new instance of the MapiContactPhoto class

Methods

MethodDescription
equals(Object arg0)
getClass()
getData()Gets an image data.
getId()Gets object identification information
getPhotoImageFormat()Gets a photo type.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MapiContactPhoto(byte[] data, int photoImageFormat)

public MapiContactPhoto(byte[] data, int photoImageFormat)

Initializes a new instance of the MapiContactPhoto class

Parameters:

ParameterTypeDescription
databyte[]Image data of photo.
photoImageFormatintImage format of photo MapiContactPhotoImageFormat.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public final byte[] getData()

Gets an image data.

Returns: byte[]

getId()

public final ObjectIdentifier getId()

Gets object identification information

Returns: ObjectIdentifier

getPhotoImageFormat()

public final int getPhotoImageFormat()

Gets a photo type.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int