summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-05-22 14:34:53 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-05-22 21:18:39 +0000
commitae60742f00911df185fe12b2e4de08dff4c954b4 (patch)
tree9b671db0bf56a0456d52677363f48b92dce9185a /android
parent10ec0f26b57a28769a6e8f7f0d9542173d3e565a (diff)
downloadmullvadvpn-ae60742f00911df185fe12b2e4de08dff4c954b4.tar.xz
mullvadvpn-ae60742f00911df185fe12b2e4de08dff4c954b4.zip
Implement `MullvadDaemon::getRelayLocations`
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/MullvadDaemon.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/MullvadDaemon.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/MullvadDaemon.kt
index 152eaac970..b01bccb5a4 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/MullvadDaemon.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/MullvadDaemon.kt
@@ -1,6 +1,7 @@
package net.mullvad.mullvadvpn
import net.mullvad.mullvadvpn.model.AccountData
+import net.mullvad.mullvadvpn.model.RelayList
import net.mullvad.mullvadvpn.model.Settings
class MullvadDaemon {
@@ -10,6 +11,7 @@ class MullvadDaemon {
}
external fun getAccountData(accountToken: String): AccountData?
+ external fun getRelayLocations(): RelayList
external fun getSettings(): Settings
external fun setAccount(accountToken: String?)