Edit

Share via


ContactCard Class

Definition

This class represents the contact card presence category which provides a details about a presentity such as display name, physical and email address, work information, personal web urls and phone numbers among others. Information on whether this presentity is an automaton or a regular user can also be found here.

public ref class ContactCard : Microsoft::Rtc::Collaboration::Presence::PresenceCategory
public class ContactCard : Microsoft.Rtc.Collaboration.Presence.PresenceCategory
type ContactCard = class
    inherit PresenceCategory
Public Class ContactCard
Inherits PresenceCategory
Inheritance
ContactCard

Remarks

When subscribing to remote presentities, this category is automated requested for.

Bots or automatons whose presence rarely changes and would like watchers on Lync or UCMA 3.0 based endpoints can publish their contact card instance with IsAutomatedService set to true.

Constructors

ContactCard(ContactCard)

Create an instance of the ContactCard class.

ContactCard(Int64)

Create an instance of the ContactCard class.

ContactCard(PresenceCategoryWithMetaData)

Creates an instance of the ContactCard class.

Fields

InstanceIdUnknown

Instance ID is unknown.

(Inherited from PresenceCategory)

Properties

CategoryName

Gets the name of the category.

(Inherited from PresenceCategory)
Company

Gets or sets the name of the company that the Presentity belongs to.

Department

Gets or sets the department that the presentity belongs to.

Description

Gets or Sets the description of the Presentity

DisplayName

Gets or sets the display name on the contact card.

EmailAddress

Gets or sets the presentity's Email Id.

IconUri

Gets the icon uri of the PIC or federated contact.

InstanceId

Gets the instance id of the contact card.

IsAllowedToShowPhoto

Gets or sets the boolean value representing whether this presentity's photo should be displayed.

IsAutomatedService

Gets or Sets the value that indicates if presentity is a bot or automaton whose presence information rarely changes.

JobTitle

Gets or sets the presentity's Title.

OfficeLocation

Gets or sets the presentity's office.

PersonalWebUrl

Gets or sets the url of the personal SharePoint site.

PhoneNumbers

Gets or Sets the presentity's phone numbers

PhotoHashValue

Gets the photo hash value.

PhotoUri

Gets or sets the uri indicating the web url of the photo.

PhysicalAddress

Gets or sets the address of the Presentity.

PresentityType

Gets or Sets the type of the Presentity (automaton/person/huntgroup/autoattendant).

Methods

CreateExpiryPolicy()

Creates an expiry policy.

CreateInstanceId(RealTimeEndpoint)

Returns the instance id

GetCategoryDataXml()

Returns this instance of contact card as a serialized xml.

Extension Methods

IsAllowedToShowPhotoPropertySpecified(ContactCard)

Applies to