MonobjcMonobjc Documented Class Library
InputDevicesWithMediaType Method (mediaType)
NamespacesMonobjc.QTKitQTCaptureDeviceInputDevicesWithMediaType(NSString)

Returns an array of input devices currently connected to the computer that send a stream with the given media type.

Original signature is '+ (NSArray *)inputDevicesWithMediaType:(NSString *)mediaType'

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray InputDevicesWithMediaType(
	NSString mediaType
)
Public Shared Function InputDevicesWithMediaType ( _
	mediaType As NSString _
) As NSArray
public:
static NSArray^ InputDevicesWithMediaType(
	NSString^ mediaType
)
Parameters
mediaType (NSString)
The media type, such as QTMediaTypeVideo, QTMediaTypeSound, or QTMediaTypeMuxed, supported by each returned device.
Return Value
An array of QTCaptureDevice instances for each connected device with the given media type. If there are no available devices, the returned array will be empty.
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)