Package-level declarations

Types

Link copied to clipboard
open class ApplicationUtil
Link copied to clipboard
open class ClassUtil
Link copied to clipboard
Link copied to clipboard
open class DeviceUtil
Link copied to clipboard
sealed class Either<out F, out S>
Link copied to clipboard
class LimitedSizeQueue<E>(maxSize: Int)
Link copied to clipboard
open class LocaleUtil
Link copied to clipboard
class MavenVersionUnit(input: String = "0")

Semantic Version 2.0.0 ( https://semver.org/ ) : {MAJOR}.{MINOR}.{PATCH}

Link copied to clipboard
open class PermissionsUtil
Helps getting permissions
Link copied to clipboard
sealed class Resource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Utility

Functions

Link copied to clipboard
fun executeIfNotUnitTest(context: Context, block: () -> Unit)
Link copied to clipboard
fun getBooleanMetaData(context: Context, key: String, defaultValue: Boolean, showErrorLog: Boolean = true): Pair<Boolean, GamebaseException?>
Link copied to clipboard
fun getManifestMetaData(context: Context, res: Resource, showErrorLog: Boolean = true): Resource
Link copied to clipboard
fun getStringMetaData(context: Context, key: String, defaultValue: String?, showErrorLog: Boolean = true): Pair<String?, GamebaseException?>
Link copied to clipboard
fun <T> Map<String?, T?>.getValueIgnoreCase(key: String?): T?
Link copied to clipboard
fun loadBooleanResource(context: Context, key: String, defaultValue: Boolean, showErrorLog: Boolean = true): Pair<Boolean, GamebaseException?>
Link copied to clipboard
fun loadResource(context: Context, res: Resource, showErrorLog: Boolean = true): Resource
Link copied to clipboard
fun loadStringResource(context: Context, key: String, defaultValue: String?, showErrorLog: Boolean = true): Pair<String?, GamebaseException?>
Link copied to clipboard
fun <K, V> Map<out K, V>.safeGetOrDefault(key: K, defaultValue: V): V
Link copied to clipboard
Link copied to clipboard