Contents

hasMediaCharacteristic(_:)

Returns a Boolean value that indicates whether the track references media with the specified media characteristic.

Declaration

func hasMediaCharacteristic(_ mediaCharacteristic: AVMediaCharacteristic) -> Bool

Parameters

  • mediaCharacteristic:

    The media characteristic of interest.

Return Value

true if the track references media with the specified characteristic; otherwise, false.

See Also

Accessing track information