Package io.okhi.android_okverify
Class OkVerify
java.lang.Object
io.okhi.android_core.OkHiCore
io.okhi.android_okverify.OkVerify
public class OkVerify
extends io.okhi.android_core.OkHiCore
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
fetchRegisteredGeofences
(android.content.Context context) static void
init
(android.content.Context context) static void
init
(android.content.Context context, OkHiNotification notification) static boolean
isForegroundServiceRunning
(android.content.Context context) static void
signIn
(android.content.Context context, io.okhi.android_core.models.OkHiUser user, String url, OkVerifyCallback<String> handler) void
start
(io.okhi.android_core.models.OkHiUser user, io.okhi.android_core.models.OkHiLocation location, OkVerifyCallback<String> handler) static void
startForegroundService
(android.content.Context context) static void
static void
stop
(android.content.Context context, String locationId, OkVerifyCallback<String> callback) stopAll
(android.content.Context context) static void
stopForegroundService
(android.content.Context context)
-
Method Details
-
start
public void start(io.okhi.android_core.models.OkHiUser user, io.okhi.android_core.models.OkHiLocation location, OkVerifyCallback<String> handler) -
stop
-
stop
public static void stop(android.content.Context context, String locationId, OkVerifyCallback<String> callback) -
init
public static void init(android.content.Context context) -
init
-
startForegroundService
public static void startForegroundService(android.content.Context context) throws io.okhi.android_core.models.OkHiException - Throws:
io.okhi.android_core.models.OkHiException
-
stopForegroundService
public static void stopForegroundService(android.content.Context context) -
isForegroundServiceRunning
public static boolean isForegroundServiceRunning(android.content.Context context) -
fetchRegisteredGeofences
-
stopAll
-
signIn
public static void signIn(android.content.Context context, io.okhi.android_core.models.OkHiUser user, String url, OkVerifyCallback<String> handler)
-