Packageorg.igniterealtime.xiff.vcard
Classpublic class VCardPhoto
ImplementsIVCardPhoto

Photograph.



Public Properties
 PropertyDefined by
  binaryValue : String
VCardPhoto
  bytes : ByteArray
VCardPhoto
  externalValue : String
VCardPhoto
  type : String
VCardPhoto
Public Methods
 MethodDefined by
  
VCardPhoto(type:String = null, binaryValue:String = null, externalValue:String = null)
To save a photo, either binaryValue or externalValue are required, but not both.
VCardPhoto
Property detail
binaryValueproperty
binaryValue:String  [read-write]

Implementation
    public function get binaryValue():String
    public function set binaryValue(value:String):void
bytesproperty 
bytes:ByteArray  [read-write]

Implementation
    public function get bytes():ByteArray
    public function set bytes(value:ByteArray):void
externalValueproperty 
externalValue:String  [read-write]

Implementation
    public function get externalValue():String
    public function set externalValue(value:String):void
typeproperty 
type:String  [read-write]

Implementation
    public function get type():String
    public function set type(value:String):void
Constructor detail
VCardPhoto()constructor
public function VCardPhoto(type:String = null, binaryValue:String = null, externalValue:String = null)

To save a photo, either binaryValue or externalValue are required, but not both. If binaryValue is passed in, type is required. If externalValue is passed in, type is not required.

Parameters
type:String (default = null) — The image type of the photo. Required if binaryValue is passed in.
 
binaryValue:String (default = null) — The BASE64 encoded binary value of the photo. Either binaryValue or externalValue are required, but not both.
 
externalValue:String (default = null) — The URI to an external photo. Either binaryValue or externalValue are required, but not both.