protected static class SourceUIContact.SourceContactDetail extends UIContactDetailImpl
Constructor and Description |
---|
SourceContactDetail(ContactDetail detail,
java.lang.String category,
java.util.Collection<java.lang.String> subCategories,
java.lang.Class<? extends OperationSet> opSetClass,
SourceContact sourceContact)
Creates an instance of SourceContactDetail by specifying
the underlying detail and the OperationSet class
for it.
|
SourceContactDetail(java.lang.String displayName,
SourceContact sourceContact)
Creates an instance of SourceContactDetail by specifying
the underlying detail and the OperationSet class
for it.
|
Modifier and Type | Method and Description |
---|---|
PresenceStatus |
getPresenceStatus()
Returns null to indicate that this detail doesn't support presence.
|
getStatusIcon, setStatusIcon
addPreferredProtocol, addPreferredProtocolProvider, getAddress, getCategory, getDescriptor, getDisplayName, getLabels, getPreferredProtocol, getPreferredProtocolProvider, getPrefix, setPrefix
public SourceContactDetail(ContactDetail detail, java.lang.String category, java.util.Collection<java.lang.String> subCategories, java.lang.Class<? extends OperationSet> opSetClass, SourceContact sourceContact)
detail
- the underlying ContactDetailcategory
- detail category stringsubCategories
- the detail list of sub-categoriesopSetClass
- the OperationSet class for the
preferred protocol providersourceContact
- the source contactpublic SourceContactDetail(java.lang.String displayName, SourceContact sourceContact)
displayName
- the display namesourceContact
- the source contactpublic PresenceStatus getPresenceStatus()
getPresenceStatus
in class UIContactDetailImpl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.