Enum - ContentType
Enum representing content types found within a schema object.
Definition
String values
Below is the table of values returned by calling the toString
method for each case:
Android
Case | String value |
---|---|
APPLICATION_JSON | application/json |
TEXT_HTML | text/html |
TEXT_XML | text/xml |
TEXT_PLAIN | text/plain |
UNKNOWN | (empty string) |
iOS
Case | String value |
---|---|
.applicationJson | application/json |
.testHtml | text/html |
.textXml | text/xml |
.textPlain | text/plain |
.unknown | (empty string) |
Case | String value |
---|---|
APPLICATION_JSON | application/json |
TEXT_HTML | text/html |
TEXT_XML | text/xml |
TEXT_PLAIN | text/plain |
UNKNOWN | (empty string) |
Case | String value |
---|---|
.applicationJson | application/json |
.testHtml | text/html |
.textXml | text/xml |
.textPlain | text/plain |
.unknown | (empty string) |