22 std::unique_ptr< ContextImpl > impl_;
38 std::shared_ptr< DeviceList > queryDeviceList();
40 using DeviceChangedCallback = std::function< void( std::shared_ptr< DeviceList > removedList, std::shared_ptr< DeviceList > addedList ) >;
47 void setDeviceChangedCallback( DeviceChangedCallback callback );
54 void setLoggerServerity( OBLogServerity log );
62 void setLoggerToFile( OBLogServerity log,
const char* fileName );
69 void setLoggerToConsole( OBLogServerity log );
76 void enableMultiDeviceSync( uint64_t repeatInterval );
提供SDK的结构体、枚举常量定义(依赖libobsensor/h/ObTypes.h)