Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Result codes corresponding to each string submitted to /system/strings/validate.
VerifyStringResult
The VerifyStringResult object has the following specification.
| Member | Type | Description |
|---|---|---|
| resultCode | 32-bit unsigned integer | Required. HResult code corresponding to submitted string. |
| offendingString | string | Required. String value that caused a string to be rejected. |
Sample JSON syntax
{
"verifyStringResult":
[
{"resultCode": "1", "offendingString": "badword"},
{"resultCode": "0", "offendingString": ""},
{"resultCode": "0", "offendingString": ""},
{"resultCode": "0", "offendingString": ""},
]
}
Common HResult Values
| Value | Error Name |
|---|---|
| 0 | Success |
| 1 | Offensive string |
| 2 | String too long |
| 3 | Unknown error |
See also
Parent
JavaScript Object Notation (JSON) Object Reference