public class NimbuzzAvatarsActivator extends java.lang.Object implements org.osgi.framework.BundleActivator, CustomAvatarService
Modifier and Type | Field and Description |
---|---|
(package private) static org.osgi.framework.BundleContext |
bundleContext
The context.
|
Constructor and Description |
---|
NimbuzzAvatarsActivator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAvatar(java.lang.String address)
Returns the avatar bytes for the given contact address.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts this bundle.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops this bundle.
|
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- the bundle contextjava.lang.Exception
- if something goes wrongpublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bc
- the bundle contextjava.lang.Exception
- if something goes wrongpublic byte[] getAvatar(java.lang.String address)
getAvatar
in interface CustomAvatarService
address
- the address to search for its avatar.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.