Source: linphoneaddress.js

/* Wrapper generated by lp-gen-wrappers, do not edit*/

/**
 * Object that represents a SIP address.
 * @external LinphoneAddress
**/
/**
 * Sets the display name. 
 * @member {string} external:LinphoneAddress#displayName
**/
/**
 * Sets the domain. 
 * @member {string} external:LinphoneAddress#domain
**/
/**
 * Sets the port number. 
 * @member {number} external:LinphoneAddress#port
**/
/**
 * Returns the address scheme, normally "sip". 
 * @member {string} external:LinphoneAddress#scheme
 * @readonly
**/
/**
 * Returns true if address refers to a secure location (sips) 
 * @member {boolean} external:LinphoneAddress#secure
 * @readonly
**/
/**
 * Set a transport. 
 * @member {linphone.TransportType} external:LinphoneAddress#transport
**/
/**
 * Sets the username. 
 * @member {string} external:LinphoneAddress#username
**/

/**
 * Returns the address as a string. The returned char * must be freed by the application. Use ms_free().
 * 
 * @function external:LinphoneAddress#asString
 * @returns {string} 
**/

/**
 * Returns the SIP uri only as a string, that is display name is removed. The returned char * must be freed
 * by the application. Use ms_free(). 
 * @function external:LinphoneAddress#asStringUriOnly
 * @returns {string} 
**/

/**
 * Removes address's tags and uri headers so that it is displayable to the user. 
 * @function external:LinphoneAddress#clean
 * @returns {void} 
**/

/**
 * Clones a LinphoneAddress object. 
 * @function external:LinphoneAddress#clone
 * @returns {external:LinphoneAddress} 
**/

/**
 * Compare two LinphoneAddress ignoring tags and headers, basically just domain, username, and port. Returns
 * TRUE if they are equal. 
 * @function external:LinphoneAddress#weakEqual
 * @param {external:LinphoneAddress} a2 - 
 * @returns {boolean} 
**/