UploadFrequency - DataDog/dd-sdk-android GitHub Wiki
enum UploadFrequency : Enum<UploadFrequency>
Defines the frequency at which batch upload are tried.
Entries
FREQUENT
Try to upload batch data frequently.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
AVERAGE
Try to upload batch data with a medium frequency.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
RARE
Try to upload batch data rarely.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
Functions
valueOf
fun valueOf(value: String): UploadFrequency
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<UploadFrequency>
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.