android-components / mozilla.components.lib.crash.prompt / CrashReporterActivity

# CrashReporterActivity

`class CrashReporterActivity : AppCompatActivity` (source)

Activity showing the crash reporter prompt asking the user for confirmation before submitting a crash report.

### Constructors

<init> | `CrashReporterActivity()` Activity showing the crash reporter prompt asking the user for confirmation before submitting a crash report.

### Functions

onCreate | `fun onCreate(savedInstanceState: Bundle?): Unit`

### Extension Properties

appVersionName | `val Context.appVersionName: String?` The (visible) version name of the application, as specified by the tag's versionName attribute. E.g. "2.0".

### Extension Functions

enterToImmersiveMode | `fun Activity.enterToImmersiveMode(): Unit` Attempts to call immersive mode using the View to hide the status bar and navigation buttons.
exitImmersiveModeIfNeeded | `fun Activity.exitImmersiveModeIfNeeded(): Unit` Attempts to come out from immersive mode using the View.
isOSOnLowMemory | `fun Context.isOSOnLowMemory(): Boolean` Returns whether or not the operating system is under low memory conditions.
isPermissionGranted | `fun Context.isPermissionGranted(vararg permission: String): Boolean` Returns if a list of permission have been granted, if all the permission have been granted returns true otherwise false.
systemService | `fun <T> Context.systemService(name: String): T` Returns the handle to a system-level service by name.