mirror of https://github.com/M66B/FairEmail.git
32 lines
614 B
Kotlin
32 lines
614 B
Kotlin
package com.bugsnag.android
|
|
|
|
/**
|
|
* Represents the type of thread captured
|
|
*/
|
|
enum class ThreadType(internal val desc: String) {
|
|
|
|
/**
|
|
* A thread captured from Android's JVM layer
|
|
*/
|
|
EMPTY(""),
|
|
|
|
/**
|
|
* A thread captured from Android's JVM layer
|
|
*/
|
|
ANDROID("android"),
|
|
|
|
/**
|
|
* A thread captured from Android's NDK layer
|
|
*/
|
|
C("c"),
|
|
|
|
/**
|
|
* A thread captured from JavaScript
|
|
*/
|
|
REACTNATIVEJS("reactnativejs");
|
|
|
|
internal companion object {
|
|
internal fun fromDescriptor(desc: String) = ThreadType.values().find { it.desc == desc }
|
|
}
|
|
}
|