EventType - DataDog/dd-sdk-android GitHub Wiki

enum EventType : Enum<EventType>

The type of event being sent to storage.

Entries

DEFAULT

DEFAULT

A generic customer event (e.g.: log, span, …).

Properties

Name Summary
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

CRASH

CRASH

A customer event related to a crash.

Properties

Name Summary
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

TELEMETRY

TELEMETRY

An internal telemetry event to monitor the SDK's behavior and performances.

Properties

Name Summary
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

Functions

valueOf

fun valueOf(value: String): EventType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<EventType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.