MonobjcMonobjc Documented Class Library
HasMediaType Method (mediaType)
NamespacesMonobjc.QTKitQTCaptureDeviceHasMediaType(NSString)

Returns whether the receiver sends a stream with the given media type.

Original signature is '- (BOOL)hasMediaType:(NSString *)mediaType'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool HasMediaType(
	NSString mediaType
)
Public Overridable Function HasMediaType ( _
	mediaType As NSString _
) As Boolean
public:
virtual bool HasMediaType(
	NSString^ mediaType
)
Parameters
mediaType (NSString)
A media type, such as QTMediaTypeVideo, QTMediaTypeSound, or QTMediaTypeMuxed.
Return Value
Returns YES if the device outputs the given media type, NO otherwise.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.QTKit (Module: Monobjc.QTKit)