ContactActivity

The ContactActivity object is an activity that is linked to the contact by either an email, phone call, or calendar event.

Installation:

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

webworks plugin add com.blackberry.pim.contacts
Properties:
String description
Boolean direction
String mimeType
Date timestamp
Constants:
Boolean INCOMING
Boolean OUTGOING

description

This is the description of the activity. For messages, this would be the subject. For call log, this would be the phone number.

Synopsis:

read-only
String ContactActivity.description

direction

If True, the direction of the activity is incoming, and outgoing otherwise.

Synopsis:

read-only {Boolean}
Boolean ContactActivity.direction

mimeType

The MIME Type value of the operation in question.

Synopsis:

read-only
String ContactActivity.mimeType

timestamp

The timestamp associated with the contact activity.

Synopsis:

read-only
Date ContactActivity.timestamp

INCOMING

The direction of the activity is incoming.

Synopsis:

constant
Boolean ContactActivity.INCOMING = true

OUTGOING

The direction of the activity is outgoing.

Synopsis:

constant
Boolean ContactActivity.OUTGOING = false

Last modified: 2014-10-09



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus