public interface GlobalDisplayDetailsService
A global display name implementation could determine the information by going through all different accounts' server stored information or by taking into account a provisioned display name if any is available or choose any other approach.
Modifier and Type | Method and Description |
---|---|
void |
addGlobalDisplayDetailsListener(GlobalDisplayDetailsListener l)
Adds the given GlobalDisplayDetailsListener to listen for change
events concerning the global display details.
|
java.lang.String |
getDisplayName(ProtocolProviderService pps)
Returns default display name for the given provider or the global display
name.
|
byte[] |
getGlobalDisplayAvatar()
Returns the global avatar for the local user.
|
java.lang.String |
getGlobalDisplayName()
Returns the global display name to be used to identify the local user.
|
void |
removeGlobalDisplayDetailsListener(GlobalDisplayDetailsListener l)
Removes the given GlobalDisplayDetailsListener listening for
change events concerning the global display details.
|
void |
setGlobalDisplayAvatar(byte[] avatar)
Sets the global display avatar for the local user.
|
void |
setGlobalDisplayName(java.lang.String displayName)
Sets the global local user display name.
|
java.lang.String getDisplayName(ProtocolProviderService pps)
pps
- the given protocol provider servicejava.lang.String getGlobalDisplayName()
void setGlobalDisplayName(java.lang.String displayName)
displayName
- the string representing the display name to set as
a global display namebyte[] getGlobalDisplayAvatar()
void setGlobalDisplayAvatar(byte[] avatar)
avatar
- the byte array representing the avatar to setvoid addGlobalDisplayDetailsListener(GlobalDisplayDetailsListener l)
l
- the GlobalDisplayDetailsListener to addvoid removeGlobalDisplayDetailsListener(GlobalDisplayDetailsListener l)
l
- the GlobalDisplayDetailsListener to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.