AppUtils

object AppUtils

Functions

Link copied to clipboard
fun getAppBitmap(callback: Bitmap? = null): Bitmap

Get app icon bitmap.

Link copied to clipboard

Get app debug mode.

Link copied to clipboard
Link copied to clipboard
fun getAppName(callback: String? = null): String

Get app name.

Link copied to clipboard

Get memory information.

Link copied to clipboard
Link copied to clipboard
fun getPackageName(callback: String? = null): String

Get package name.

Link copied to clipboard
fun getVersionCode(callback: Int? = null): Int

Get version code.

Link copied to clipboard
@RequiresApi(value = 28)
private fun getVersionCodeApi28Above(callback: Int? = null): Int

Get VersionCode (in Api 28 Above)

Link copied to clipboard
private fun getVersionCodeApi28Down(callback: Int? = null): Int

Get VersionCode (in Api 28 Down)

Link copied to clipboard
fun getVersionName(callback: String? = null): String

Get version name.