void executeWithCallback(String statementName, String listenerName, String callbackUri, boolean isContinuous, Object closure)
void executeWithCallback(String statementName, String listenerName, String callbackUri, boolean isContinuous, Object closure)
Name | Type | Description |
---|---|---|
statementName | String | name of the statement to execute. |
listenerName | String | name of the listener to create. |
listener | Query | listener |
closure | Object | that will be blindly returned through a callback parameter. |