public pxcmStatus EnableStreams(PXCMVideoModule.DataDesc ddesc) { return PXCMSenseManager_EnableStreams(instance, ddesc); }
internal static extern pxcmStatus PXCMSenseManager_EnableStreams(IntPtr putil, PXCMVideoModule.DataDesc sdesc);
/** @brief Add the module input needs to the CaptureManager device search. The application must call this function for all modules before the LocalStreams function, where the CaptureManager performs the device match. @param[in] mid The module identifier. The application can use any unique value to later identify the module. @param[in] inputs The module input descriptor. @return PXCM_STATUS_NO_ERROR Successful executation. */ public pxcmStatus RequestStreams(Int32 mid, PXCMVideoModule.DataDesc inputs) { ObjectPair op = new ObjectPair(inputs); descriptors.Add(op); pxcmStatus sts = PXCMCaptureManager_RequestStreams(instance, mid, op.unmanaged); if (sts < pxcmStatus.PXCM_STATUS_NO_ERROR) descriptors.Clear(); return sts; }