Skip to main content

barcode_reader_ready

Function barcode_reader_ready 

pub fn barcode_reader_ready() -> bool
Expand description

Re-exports the media runtime helpers when the media feature is enabled.

§Examples

ⓘ
use pharos_native::media::*;
  • crate::runtime for runtime flows that consume media helpers. Indicates whether the native RXing barcode capability is available.

§Returns

Returns true when the condition checked by crate::barcode_reader_ready holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_media::barcode_reader_ready();
  • [crate] for adjacent helpers that share the same runtime surface.