RumResourceMethod - DataDog/dd-sdk-android GitHub Wiki
enum RumResourceMethod : Enum<RumResourceMethod>
Describes the type of a method associated with resource call.
See also
| RumMonitor |
Entries
POST
POST Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
GET
GET Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
HEAD
HEAD Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
PUT
PUT Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
DELETE
DELETE Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
PATCH
PATCH Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
TRACE
TRACE Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
OPTIONS
OPTIONS Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
CONNECT
CONNECT Method.
Properties
| Name | Summary |
|---|---|
| name | [androidJvm]val name: String |
| ordinal | [androidJvm]val ordinal: Int |
Functions
valueOf
fun valueOf(value: String): RumResourceMethod
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<RumResourceMethod>
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.