MonobjcMonobjc Documented Class Library
DefaultInputDeviceWithMediaType Method (mediaType)
NamespacesMonobjc.QTKitQTCaptureDeviceDefaultInputDeviceWithMediaType(NSString)

Returns a QTCaptureDevice instance for the default device connected to the user’s system of the given media type.

Original signature is '+ (QTCaptureDevice *)defaultInputDeviceWithMediaType:(NSString *)mediaType'

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static QTCaptureDevice DefaultInputDeviceWithMediaType(
	NSString mediaType
)
Public Shared Function DefaultInputDeviceWithMediaType ( _
	mediaType As NSString _
) As QTCaptureDevice
public:
static QTCaptureDevice^ DefaultInputDeviceWithMediaType(
	NSString^ mediaType
)
Parameters
mediaType (NSString)
The media type, such as QTMediaTypeVideo, QTMediaTypeSound, or QTMediaTypeMuxed, supported by the returned device.
Return Value
The default device with the given media type on the user’s system, or NIL if no device with that media type exists.
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)