Package com.zopim.android.sdk.api
Class ServiceUtils
- java.lang.Object
- 
- com.zopim.android.sdk.api.ServiceUtils
 
- 
 
 public class ServiceUtils extends java.lang.ObjectFor internal use only.
- 
- 
Constructor SummaryConstructors Constructor and Description ServiceUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidstartAsForegroundServiceIfNeeded(Context context, Intent intent)static voidstartForegroundIfNeeded(Service service, Intent intent)static voidstopForegroundService(Service service)
 
- 
- 
- 
Method Detail- 
startAsForegroundServiceIfNeededpublic static void startAsForegroundServiceIfNeeded(Context context, Intent intent)
 - 
startForegroundIfNeededpublic static void startForegroundIfNeeded(Service service, Intent intent)
 - 
stopForegroundServicepublic static void stopForegroundService(Service service) 
 
- 
 
-