forked from github/cordova-android
Change hasReturnValue to isSynch to be more accurate about purpose of method.
This commit is contained in:
@@ -103,12 +103,12 @@ public class AudioHandler implements Plugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifies if action to be executed returns a value.
|
||||
* Identifies if action to be executed returns a value and should be run synchronously.
|
||||
*
|
||||
* @param action The action to execute
|
||||
* @return T=returns value
|
||||
*/
|
||||
public boolean hasReturnValue(String action) {
|
||||
public boolean isSynch(String action) {
|
||||
if (action.equals("getCurrentPositionAudio")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user