
public class AdapterUserLocation extends ContextSubscriber implements IAdapter
User and adds this
location info to all UIRequests for that user. It adds the last user
location as presentation location. This location may not be added if the
information (ContextEvent) is not received, or if an amount of
time has
elapsed since the last event.busResourceURI, owner, theBus| Constructor and Description |
|---|
AdapterUserLocation(ModuleContext context,
Resource user) |
| Modifier and Type | Method and Description |
|---|---|
void |
adapt(UIRequest uiRequest) |
void |
communicationChannelBroken() |
void |
handleContextEvent(ContextEvent event) |
addNewRegParams, busDyingOut, getAllProvisions, getMyID, handleEvent, removeMatchingRegParamsclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic AdapterUserLocation(ModuleContext context, Resource user)
public void communicationChannelBroken()
communicationChannelBroken in class ContextSubscriberpublic void handleContextEvent(ContextEvent event)
handleContextEvent in class ContextSubscriberevent - The Context Event that matched the registered PatternsCopyright © 2018 universAAL Consortium. All rights reserved.