|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
object instantiated by the application allowing the provider to return data to the application asynchronously.
The Presence information format is defined in a pseudo-DTD.
Field Summary | |
static int |
PRESENCE_SUBSCRIPTION_ACCESS_DENIED
|
static int |
PRESENCE_SUBSCRIPTION_DISABLED
|
static int |
PRESENCE_SUBSCRIPTION_EXPIRED
|
static int |
PRESENCE_SUBSCRIPTION_NO_RESOURCE
|
static int |
PRESENCE_SUBSCRIPTION_OK
|
Method Summary | |
void |
onError(java.lang.String presentityURL,
java.lang.String errorText)
invoked by the provider when an error occurs. |
void |
onPresenceInfo(java.lang.String presenceInfo)
invoked by the provider when requested presence information is received |
Field Detail |
public static final int PRESENCE_SUBSCRIPTION_OK
public static final int PRESENCE_SUBSCRIPTION_ACCESS_DENIED
public static final int PRESENCE_SUBSCRIPTION_NO_RESOURCE
public static final int PRESENCE_SUBSCRIPTION_EXPIRED
public static final int PRESENCE_SUBSCRIPTION_DISABLED
Method Detail |
public void onPresenceInfo(java.lang.String presenceInfo)
presenceInfo
- presence info (XML)public void onError(java.lang.String presentityURL, java.lang.String errorText)
presentityURL
- subscribed presentityerrorText
- textual explanation of the cause of the subscription
termination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |