ContactNews

The ContactNews object contains the Online News for a contact.

The functionality of this object allows the developer to display system toast notifications within their WebWorks application.

Installation:

To use this API in your project, add the contacts plugin:

webworks plugin add com.blackberry.pim.contacts
Properties:
String articleSource
String body
String[] companies
Date publishedAt
String title
String type
String uri

articleSource

The source of this article.

Synopsis:

read-only
String ContactNews.articleSource

body

The content of the source.

Synopsis:

read-only
String ContactNews.body

companies

The list of companies associated with this new article.

Synopsis:

read-only
String[] ContactNews.companies

publishedAt

The publish date of the article.

Synopsis:

read-only
Date ContactNews.publishedAt

title

The title of the news article.

Synopsis:

read-only
String ContactNews.title

type

The type of the news article. e.g. "Press Release".

Synopsis:

read-only
String ContactNews.type

uri

The URL of the article.

Synopsis:

read-only
String ContactNews.uri

Last modified: 2014-04-10