Contents

SKDocumentGetSchemeName(_:)

Gets the scheme name for a document URL object (of type Skdocument).

Declaration

func SKDocumentGetSchemeName(_ inDocument: SKDocument!) -> Unmanaged<CFString>!

Parameters

  • inDocument:

    The document URL object (of type Skdocument) whose scheme you want to get.

Return Value

A CFString object containing the document URL object’s scheme name, or NULL on failure.

Discussion

The scheme of a document URL object (of type SKDocument), which represents how it can be accessed, can be any character string but is typically “file” or “http”. The scheme is one of a Search Kit document URL object’s three properties—see SKDocument for details.

For more information on schemes, see http://www.iana.org/assignments/uri-schemes.html

See Also

Working with Documents and Terms