Skip to main content

ContactURIProperty

  • This class represents the "CONTACT-URI" property

  • This class should be called with two arguments, the first an array of the parameters, and the second the value of the property

  • The only acceptable parameters of ContactURIProperty are ValueParameter, PrefParameter and IndexParameter

  • If you do not wish that the property have any parameters, leave the first argument array empty

  • The value of ContactURIProperty should be of type URIType. It be either a "mailto", "http", or "https" URI value

new ContactURIProperty([], new URIType("mailto:contact@example.com"));