pub struct FactoryRecord { /* private fields */ }Implementations§
Source§impl FactoryRecord
impl FactoryRecord
pub fn new() -> Result<FactoryRecord, Error>
pub fn with_library_directory(lib_dir: &str) -> Result<FactoryRecord, Error>
Sourcepub fn set_debug_message_handler(
self,
debug_message_handler: Box<DebugMessageHandler>,
min_level: LogLevel,
) -> Self
pub fn set_debug_message_handler( self, debug_message_handler: Box<DebugMessageHandler>, min_level: LogLevel, ) -> Self
Sets and clears the callback function to receive debug messages from the Azure Kinect device.
Sourcepub fn reset_debug_message_handler(self) -> Self
pub fn reset_debug_message_handler(self) -> Self
Clears the callback function to receive debug messages from the Azure Kinect device.
pub fn core(&self) -> &Factory
Sourcepub fn playback_open(&self, path: &str) -> Result<Playback<'_>, Error>
pub fn playback_open(&self, path: &str) -> Result<Playback<'_>, Error>
Opens a K4A recording for playback.
Sourcepub fn record_create(
&self,
path: &str,
device: &Device<'_>,
device_configuration: &DeviceConfiguration,
) -> Result<Record<'_>, Error>
pub fn record_create( &self, path: &str, device: &Device<'_>, device_configuration: &DeviceConfiguration, ) -> Result<Record<'_>, Error>
Opens a new recording file for writing
Auto Trait Implementations§
impl Freeze for FactoryRecord
impl !RefUnwindSafe for FactoryRecord
impl !Send for FactoryRecord
impl !Sync for FactoryRecord
impl Unpin for FactoryRecord
impl !UnwindSafe for FactoryRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more