phytrace_builder_set_context

Function phytrace_builder_set_context 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_builder_set_context( builder: *mut PhyTraceBuilderHandle, timezone: *const c_char, facility_id: *const c_char, facility_name: *const c_char, human_count: i32, robot_count: i32, ) -> i32
Expand description

Set the context domain on the builder.

String parameters use null for “not set”. Integer parameters use -1 for “not set”.

§Parameters

  • timezone — Timezone string (e.g., “America/New_York”), or null
  • facility_id — Facility identifier, or null
  • facility_name — Facility name, or null
  • human_count — Number of humans in area; -1 means not set
  • robot_count — Number of robots in area; -1 means not set