android-components / mozilla.components.lib.crash.service / SendCrashReportService

SendCrashReportService

class SendCrashReportService (source)

Constructors

Name Summary
<init> SendCrashReportService()

Functions

Name Summary
onBind fun onBind(intent: <ERROR CLASS>): <ERROR CLASS>?
onStartCommand fun onStartCommand(intent: <ERROR CLASS>, flags: Int, startId: Int): Int

Companion Object Functions

Name Summary
createReportIntent fun createReportIntent(context: <ERROR CLASS>, crash: Crash, notificationTag: String? = null, notificationId: Int = 0): <ERROR CLASS>

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.