From a9817ef514c46a3ae1ee59b1528e26ab214f6ae3 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 26 Nov 2010 20:01:33 +0100 Subject: [PATCH] add isNetworkStateReachable to java api --- java/common/org/linphone/core/LinphoneCore.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/common/org/linphone/core/LinphoneCore.java b/java/common/org/linphone/core/LinphoneCore.java index 422c0e5a0..22a660302 100644 --- a/java/common/org/linphone/core/LinphoneCore.java +++ b/java/common/org/linphone/core/LinphoneCore.java @@ -164,6 +164,11 @@ public interface LinphoneCore { * */ public void setNetworkStateReachable(boolean isReachable); + /** + * + * @return if false, there is no network connection. + */ + public boolean setNetworkStateReachable(); /** * destroy linphone core and free all underlying resources */