API reference
API reference
Select your platform
No SDKs available
No versions available

TombstoneMonitor Object

Native crash detection via tombstones.
Monitors for native crashes (C++ crashes) via tombstone files.

Signature

object TombstoneMonitor

Functions

getLatestTombstone ()
Signature
fun getLatestTombstone(): TombstoneMonitor.Tombstone?
Returns
TombstoneMonitor.Tombstone?
listRecentTombstones ()
Signature
fun listRecentTombstones(): List<TombstoneMonitor.Tombstone>
Returns
List
readTombstone ( filename )
Signature
fun readTombstone(filename: String): String?
Parameters
filename: String
Returns
String?

Inner Class

Tombstone Class

Modifiers: final

Signature

data class Tombstone(val filename: String, val timestamp: Long, val size: Long)

Constructors

Tombstone ( filename , timestamp , size )
Signature
constructor(filename: String, timestamp: Long, size: Long)
Parameters
filename: String
timestamp: Long
size: Long
Returns
TombstoneMonitor.Tombstone

Properties

filename : String
[Get]
Signature
val filename: String
size : Long
[Get]
Signature
val size: Long
timestamp : Long
[Get]
Signature
val timestamp: Long

Functions

toJson ()
Signature
fun toJson(): JSONObject
Returns
JSONObject
Did you find this page helpful?