|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PresContentClient
XCAP pres-content client interface.
Compliant with Presence Content XDM Specification v1.0
| Field Summary | |
|---|---|
static String |
CONTENT_TYPE
Pres-content content type |
static String |
DOCUMENT_FORMAT
Pres-content uri format |
static String |
NAMESPACE
Pres-content namespace |
| Method Summary | |
|---|---|
void |
deletePresContent(String imageName)
Deletes the pres-content from the server. |
byte[] |
getImage(URI imageUri)
Gets image from the specified uri. |
ContentType |
getPresContent(String imageName)
Gets the pres-content from the server. |
URI |
getPresContentImageUri(String imageName)
Gets the pres-content image uri. |
void |
putPresContent(ContentType content,
String imageName)
Puts the pres-content to the server. |
| Field Detail |
|---|
static final String CONTENT_TYPE
static final String NAMESPACE
static final String DOCUMENT_FORMAT
| Method Detail |
|---|
void putPresContent(ContentType content,
String imageName)
throws XCapException
content - the pres-content to be saved on the server.imageName - the image name under which pres-content would be saved.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.
ContentType getPresContent(String imageName)
throws XCapException
imageName - the image name under which pres-content is saved.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.
void deletePresContent(String imageName)
throws XCapException
imageName - the image name under which pres-content is saved.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.URI getPresContentImageUri(String imageName)
imageName - the image name under which pres-content is saved.
IllegalStateException - if the user has not been connected.
byte[] getImage(URI imageUri)
throws XCapException
imageUri - the image uri.
XCapException - if there is some error during operation.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||