Skip to content

VitalsUpdateFrequency

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

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.

Clone this wiki locally