Contents

LSSetHandlerOptionsForContentType(_:_:)

Sets the handler option for the specified content type.

Declaration

func LSSetHandlerOptionsForContentType(_ inContentType: CFString!, _ inOptions: LSHandlerOptions) -> OSStatus

Parameters

  • inContentType:

    The content type for which the handler options are to be set. The content type is a uniform type identifier (UTI).

  • inOptions:

    The handler options to set. For possible values, see Lshandleroptions.

Return Value

A result code; see Result Codes.

Discussion

Thread-safe since OS X v10.4.

See Also

Deprecated Functions