scheduleLoneWorker

open fun scheduleLoneWorker(@NonNull context: Context, loneWorkerDelay: Int)

Use this method to schedule the start of the lone worker manager

Parameters

context

Contextthe application context

loneWorkerDelay

the date in minute when you want to start the lone worker manager


open fun scheduleLoneWorker(    @NonNull context: Context,     loneWorkerDelay: Int,     informServer: Boolean)

Use this method to schedule the start of the lone worker manager

Parameters

context

Contextthe application context

loneWorkerDelay

intthe date in minute when you want to start the lone worker manager

informServer

booleanif the server should be informed