-
- All Implemented Interfaces:
-
co.elastic.apm.android.sdk.internal.services.Lifecycle,co.elastic.apm.android.sdk.internal.services.Service
public class AppInfoService implements Service
-
-
Constructor Summary
Constructors Constructor Description AppInfoService(Context appContext)
-
Method Summary
Modifier and Type Method Description booleanisPermissionGranted(String permissionName)booleanisInDebugMode()intgetVersionCode()FilegetCacheDir()longgetAvailableCacheSpace(long maxSpaceNeeded)voidstart()voidstop()Stringname()-
-
Constructor Detail
-
AppInfoService
AppInfoService(Context appContext)
-
-
Method Detail
-
isPermissionGranted
boolean isPermissionGranted(String permissionName)
-
isInDebugMode
boolean isInDebugMode()
-
getVersionCode
int getVersionCode()
-
getCacheDir
File getCacheDir()
-
getAvailableCacheSpace
@WorkerThread() long getAvailableCacheSpace(long maxSpaceNeeded)
-
start
void start()
-
stop
void stop()
-
-
-
-