Package com.zopim.android.sdk.api
Class ServiceUtils
- java.lang.Object
-
- com.zopim.android.sdk.api.ServiceUtils
-
public class ServiceUtils extends java.lang.Object
For internal use only.
-
-
Constructor Summary
Constructors Constructor and Description ServiceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
startAsForegroundServiceIfNeeded(Context context, Intent intent)
static void
startForegroundIfNeeded(Service service, Intent intent)
static void
stopForegroundService(Service service)
-
-
-
Method Detail
-
startAsForegroundServiceIfNeeded
public static void startAsForegroundServiceIfNeeded(Context context, Intent intent)
-
startForegroundIfNeeded
public static void startForegroundIfNeeded(Service service, Intent intent)
-
stopForegroundService
public static void stopForegroundService(Service service)
-
-