public void onPaceChange(bool isMoving) { if (isMoving) { Geolocator.ChangeStationary(isMoving); DispatchCommandResult(new PluginResult(PluginResult.Status.OK)); } else { DispatchCommandResult(new PluginResult(PluginResult.Status.INVALID_ACTION, "Manualy start stationary not available")); } }