public interface QiChatVariable
Modifier and Type | Interface and Description |
---|---|
static interface |
QiChatVariable.Async |
static interface |
QiChatVariable.OnValueChangedListener
Listener for value property changed event
|
Modifier and Type | Method and Description |
---|---|
void |
addOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
Add a property changed listener for value
|
QiChatVariable.Async |
async() |
java.lang.String |
getName()
Exposes the property name value
|
java.lang.String |
getValue()
Exposes the property value value
|
void |
removeAllOnValueChangedListeners()
Remove all value changed listeners
|
void |
removeOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
Remove a property changed listener for value
|
void |
setOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
Deprecated.
|
void |
setValue(java.lang.String currentValue)
Set the property currentValue value
|
QiChatVariable.Async async()
java.lang.String getName()
Exposes the name of the variable
java.lang.String getValue()
Exposes the value of the variable This can be updated by the user to modify the value of the variable in QiChat This can also be modified from QiChat
void setValue(java.lang.String currentValue)
currentValue
- the new currentValue value
Exposes the value of the variable This can be updated by the user to modify the value of the variable in QiChat This can also be modified from QiChat
@Deprecated void setOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
onValueChangedListener
- the listenervoid addOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
onValueChangedListener
- the listenervoid removeOnValueChangedListener(QiChatVariable.OnValueChangedListener onValueChangedListener)
onValueChangedListener
- the listenervoid removeAllOnValueChangedListeners()