Plugin API » Applets
Use these methods to chain applets together, select users or groups, or even let a user pick whether to say or play a voice dialog.
To chain applets together, create dropZones in your applet user interfaces. The name is a unique way of identifying different dropZones.
| Name | Type | Description |
|---|---|---|
| $name | string | Name of the dropzone to be stored as, this will be the same to retrieve value with AppletInstance::getDropZoneURL() |
string — html of dropZone
echo AppletUI::dropZone('next');

If you want to allow a user to upload their own mp3's, record a message via their phone or use the text-to-speech engine, place this in your applet interface.
string — html of audioSpeechPicker
echo AppletUI::audioSpeechPicker('audioSpeechPicker');

If your applet needs to select a user or group of users, use this picker.
| Name | Type | Description |
|---|---|---|
| $name | string | Name of userGroupPicker |
| $label | string | Helper text displayed in the clickable region of the picker |
string — html of userGroupPicker
echo AppletUI::userGroupPicker('userGroupPicker');
