hasMediaType(_:)
Returns a Boolean value that indicates whether the device captures media of a particular type.
Declaration
func hasMediaType(_ mediaType: AVMediaType) -> BoolParameters
Return Value
true if the device captures media of the specified type; otherwise, false.