public abstract class UtilUICaller extends UICaller
1: You have to implement method executeStartUI which will be called when the user requests interaction. The user is passed to the method.
2: Main Menu is automatically updated to include the Submit for this application. Until release 1.1.0 this is done with files "main_menu_*.txt" which are modified to include this application ID.
Modifier and Type | Field and Description |
---|---|
static String |
CONF_ROOT_DIR
The root directory of the runtime configuration.
|
busResourceURI, owner, theBus
Modifier | Constructor and Description |
---|---|
protected |
UtilUICaller(ModuleContext context,
String namespace,
String url,
String title)
Constructor to create a Simple UI Caller that handles first call
interaction and addition to Main Menu.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Unregisters the Subscriber from the bus.
|
void |
communicationChannelBroken()
Method to be called when the communication of the
UICaller with
the IDialogManager is lost. |
abstract void |
executeStartUI(Resource resource)
This method is called whenever the user selects your application submit
from the Main Menu.
|
abortDialog, adaptationParametersChanged, busDyingOut, dialogAborted, dialogSuspended, getMyID, handleReply, handleUIResponse, resumeDialog, sendUIRequest
getComment, getLabel, getType, getURI, setComment, setLabel
public static final String CONF_ROOT_DIR
protected UtilUICaller(ModuleContext context, String namespace, String url, String title)
context
- The universAAL module context.namespace
- Namespace to be used by the UI Caller references (only for
initial UI request).url
- The URL of your company, for identificative purposes only.title
- Name of the application, which will appear in the Main Menu
submit.public abstract void executeStartUI(Resource resource)
resource
- The User which initiated the interaction. May be an instance
of User, AssistedPerson or Caregiver.public void communicationChannelBroken()
UICaller
UICaller
with
the IDialogManager
is lost. Any pending request might be resend
at this point. All affected pending dialogs will be
aborted
right after this
call (with null data).communicationChannelBroken
in class UICaller
Copyright © 2018 universAAL Consortium. All rights reserved.