Interface PresenceServiceListener
-
public interface PresenceServiceListenerInterface that can be used to get presence service feedback and updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPresencePublishFailed(PresenceService presenceService, Presence presence, java.lang.String failure)Called when the local user's presence failed to be published.voidonPresencePublishSuccessful(PresenceService presenceService, Presence presence)Called when the local user's presence has been published successfully.voidonPresenceServiceAvailable(PresenceService presenceService)Called when the presence service becomes availablevoidonPresenceServiceUnavailable(PresenceService presenceService)Called when the presence service becomes unavailablevoidonSelfPresenceReceived(PresenceService presenceService, Presence presence)Called when presence information is received for the local user.
-
-
-
Method Detail
-
onPresencePublishSuccessful
void onPresencePublishSuccessful(PresenceService presenceService, Presence presence)
Called when the local user's presence has been published successfully.- Parameters:
presenceService- The presence services associated with the callback.presence- The presence information that was received.
-
onPresencePublishFailed
void onPresencePublishFailed(PresenceService presenceService, Presence presence, java.lang.String failure)
Called when the local user's presence failed to be published.- Parameters:
presenceService- The presence service associated with the callback.presence- The presence information that failed to be published.failure- A failure containing details of the error.
-
onSelfPresenceReceived
void onSelfPresenceReceived(PresenceService presenceService, Presence presence)
Called when presence information is received for the local user.- Parameters:
presenceService- The presence service associated with the callback.presence- The presence information that was received.
-
onPresenceServiceAvailable
void onPresenceServiceAvailable(PresenceService presenceService)
Called when the presence service becomes available- Parameters:
presenceService- The presence service associated with the callback.
-
onPresenceServiceUnavailable
void onPresenceServiceUnavailable(PresenceService presenceService)
Called when the presence service becomes unavailable- Parameters:
presenceService- The presence service associated with the callback.
-
-