Skip to content

MethodCallSamplingRate

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

enum MethodCallSamplingRate : Enum<MethodCallSamplingRate>

Sampling rates for Method Call telemetry.

Parameters

rate the rate to sample at (between 0 and 100).

Entries

ALL

ALL

Properties

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

HIGH

HIGH

Properties

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

MEDIUM

MEDIUM

Properties

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

LOW

LOW

Properties

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

REDUCED

REDUCED

Properties

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

RARE

RARE

Properties

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

Properties

rate

val rate: Float

Parameters
rate the rate to sample at (between 0 and 100).

Functions

valueOf

fun valueOf(value: String): MethodCallSamplingRate

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

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