android-components / / FennecProfile


data class FennecProfile (source)

A profile of “Fennec” (Firefox for Android).


Name Summary
<init> FennecProfile(name: String, path: String, default: Boolean)
A profile of “Fennec” (Firefox for Android).


Name Summary
default val default: Boolean
name val name: String
path val path: String

Companion Object Functions

Name Summary
findDefault fun findDefault(context: <ERROR CLASS>, crashReporter: CrashReporting, mozillaDirectory: File = getMozillaDirectory(context), fileName: String = "profiles.ini"): FennecProfile?
Returns the default FennecProfile - the default profile used by Fennec or null if no profile could be found.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.