VitalsUpdateFrequency - DataDog/dd-sdk-android GitHub Wiki

enum VitalsUpdateFrequency : Enum<VitalsUpdateFrequency>

Defines the frequency at which mobile vitals monitor updates the data.

Entries

FREQUENT

FREQUENT

Every 100 milliseconds.

Properties

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

AVERAGE

AVERAGE

Every 500 milliseconds. This is the default frequency.

Properties

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

RARE

RARE

Every 1000 milliseconds.

Properties

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

NEVER

NEVER

No data will be sent for mobile vitals.

Properties

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

Functions

valueOf

fun valueOf(value: String): VitalsUpdateFrequency

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<VitalsUpdateFrequency>

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.