public class AvatarEvent
extends java.util.EventObject
Constructor and Description |
---|
AvatarEvent(OperationSetAvatar sourceOp,
ProtocolProviderService sourceProvider,
byte[] newAvatar)
Creates an event instance indicating that the specified protocol
has changed its avatar to newAvatar.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getNewAvatar()
Returns the new avatar
|
OperationSetAvatar |
getSourceAvatarOperationSet()
Returns the OperationSetAvatar instance that is the source
of this event.
|
ProtocolProviderService |
getSourceProvider()
Returns the provider that the source belongs to.
|
java.lang.String |
toString()
Returns a String representation of this AvatarEvent
|
public AvatarEvent(OperationSetAvatar sourceOp, ProtocolProviderService sourceProvider, byte[] newAvatar)
sourceOp
- the operation set that generated this eventsourceProvider
- the protocol provider that the contact belongs tonewAvatar
- the new avatarpublic ProtocolProviderService getSourceProvider()
public byte[] getNewAvatar()
public OperationSetAvatar getSourceAvatarOperationSet()
public java.lang.String toString()
toString
in class java.util.EventObject
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.