PresenceFactory

Used to manage presence information displayed in the GroupWise client. Valid for GroupWise 2012.

Properties

None.

Methods

WantPresence(
   GW_PRESENCE_CONTEXT GWContext,
   DIGWAddressBookEntry7 pContactDisp,
   long ContactOrPhoneNumberType,
   VARIANT_BOOL *pbCanGivePresence
   )
  • Asks the C3PO if it wants to provide presence for the given contact, in the given context. ContactOrPhoneNumberType is used if the user is clicking on a particular phone number or IM address, otherwise it is 0. The return value is set to VARIANT_TRUE if the object can give presence.
  • Represents one of the following constants:

eGW_CONTACT_ADDRESS_CARD_VIEW

Presence is being requested by an item in the address card view.

eGW_CONTACT_ADDRESS_CARD_TOOLTIP

Presence is being requested by an item in a tool tip.

eGW_CONTACT_ITEM_LIST

Presence is being requested by an item in a contact list.

eGW_MAIL_ITEM_LIST

Presence is being requested in the mail item list.

eGW_CONTACT_MAIL_ITEM_VIEWER

Presence is being requested while viewing a mail item.

eGW_CONTACT_CONTACT_ITEM_VIEWER

Presence is being requested while viewing a contact.

eGW_CONTACT_HTML_PAGE_EMBEDDED

Presence is being requested from within an HTML contact view.

BuildPresence(
   GW_PRESENCE_CONTEXT GWContext,
   DIGWAddressBookEntry7 pContactDisp,
   long ContactOrPhoneNumberType,
   DIPresence2 **ppIDispPresence
   )
  • Requests that the C3PO return a Presence object given the same parameters as WantPresence.

Remarks

None.