AVCaptureDevice DeviceWithMediaType (NSString mediaType, AVCaptureDevicePosition position) { return AVCaptureDevice.DevicesWithMediaType (mediaType) .FirstOrDefault (d => d.Position == position); }