Defines an instance of an object containing presence information for a particular contact. Valid for GroupWise 2012.
The following table lists the properties for this class, along with access and descriptions.
Property |
Access |
Description |
---|---|---|
Contact |
R/O |
DIGWAddressBookEntry7 Returns the contact associated with this presence object. |
GetBitmap( string *bstrBitmapDllname, VARIANT *vResID, long *nImages )
GetPresence( GW_PRESENCE_CONTEXT GWContext, [string *bstrStatusString, GW_PRESENCE_TYPE *PredefinedPresence, long *nBitmapIndex )
The following presence type constants are returned:
eGW_PRS_AVAILABLE |
The user is available. |
eGW_PRS_AWAY |
The user is away. |
eGW_PRS_BUSY |
The user is busy. |
eGW_PRS_IDLE |
The user is idle. |
eGW_PRS_INVALID |
Unknown presence state. |
eGW_PRS_OFFLINE |
The user is offline. |
eGW_PRS_ON_THE_PHONE |
The user is on the phone. |
eGW_PRS_UNKNOWN |
The user's status is unknown. |
GetAvailableActions([out] GW_PRESENCE_PROVIDER_ACTIONS *pavailableActions)
The following presence provider action constants are returned:
eGW_LEAVE_VOICE_MESSAGE |
The provider can leave a voice message. |
eGW_NONE |
The provider can't do any actions. |
eGW_PHONE_CALL |
The provider can dial the user. |
eGW_SEND_IM |
The provider can send an IM to the user. |
eGW_SEND_SMS_MESSAGE |
The provider can send a SMS message. |
eGW_SEND_EMAIL |
The provider can send an e-mail. |
eGW_SEND_FILE |
The provider can send a file. |
eGW_VIDEO_CALL |
The provider can create a video chat/call with the user. |
ButtonLClicked(long hWnd)
ButtonRClicked(long hWnd)
DisablePresence();
GetSubmenu( GW_PRESENCE_PROVIDER_ACTIONS action, VARIANT_BOOL bOnlyProvider, long *phMenu )
MenuClicked(long MenuId, string MenuText )
None.