contentType

The document content type for the PODSDocument object.

Interface

PODSDocument

IDL definition
attribute PODSUInt8 contentType;
JavaScript synopsis

Not applicable

C synopsis
PODSUInt8 PODSgetContentType(PODSDocument* doc);
void PODSsetContentType(
  PODSDocument* doc,
  PODSUInt8 contype
);
Parameters
  • doc   The PODSDocument object.

  • contype   [in] Document content type, from the following list (defined in pods.h file): PODS_REDIRECT_TYPE, PODS_UNKNOWN_TYPE, PODS_SCRIPT_TYPE, PODS_IMAGE_TYPE, PODS_HTML_TYPE

Returns

Getter: Document content type, from list above.

Setter: None

Remarks

Use getter when asking for documents by URL, using the PODSDocumentMgr object's documentForUrl( )

See also

PODSDocumentMgr object's documentForUrl( )