Contents

is(compatibleWithFileType:)

Returns a Boolean value that indicates whether the system can create a movie header of the specified type.

Declaration

func `is`(compatibleWithFileType fileType: AVFileType) -> Bool

Parameters

  • fileType:

    A file type to test.

Return Value

true if the movie only contains tracks whose media types are allowed by the specified file type; otherwise, false.

See Also

Creating and writing headers