VCardPhoto

Inheritance: java.lang.Object

public final class VCardPhoto

Represents vCard photo property

Constructors

Constructor Description
VCardPhoto() Initializes a new instance of the VCardPhoto class

Methods

Method Description
getPhotoType() Gets or sets a photo type
setPhotoType(int value) Gets or sets a photo type
getData() Gets or sets an image data (``` null ``` if #valueLocation is not ``` inline ```)
setData(byte[] value) Gets or sets an image data (``` null ``` if #valueLocation is not ``` inline ```)
getUri() Gets or sets a uri of photo (``` null ``` if #valueLocation is ``` inline ```)
setUri(String value) Gets or sets a uri of photo (``` null ``` if #valueLocation is ``` inline ```)
getValueLocation() Gets or sets a value location
setValueLocation(int value) Gets or sets a value location

VCardPhoto()

public VCardPhoto()

Initializes a new instance of the VCardPhoto class

getPhotoType()

public final int getPhotoType()

Gets or sets a photo type

Returns: int

setPhotoType(int value)

public final void setPhotoType(int value)

Gets or sets a photo type

Parameters:

Parameter Type Description
value int

getData()

public final byte[] getData()

Gets or sets an image data (``` null ``` if #valueLocation is not ``` inline ```)

Returns: byte[]

setData(byte[] value)

public final void setData(byte[] value)

Gets or sets an image data (``` null ``` if #valueLocation is not ``` inline ```)

Parameters:

Parameter Type Description
value byte[]

getUri()

public final String getUri()

Gets or sets a uri of photo (``` null ``` if #valueLocation is ``` inline ```)

Returns: java.lang.String

setUri(String value)

public final void setUri(String value)

Gets or sets a uri of photo (``` null ``` if #valueLocation is ``` inline ```)

Parameters:

Parameter Type Description
value java.lang.String

getValueLocation()

public final int getValueLocation()

Gets or sets a value location

Returns: int

setValueLocation(int value)

public final void setValueLocation(int value)

Gets or sets a value location

Parameters:

Parameter Type Description
value int