#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_builder_set_communication(
builder: *mut PhyTraceBuilderHandle,
is_connected: i32,
signal_strength_dbm: i32,
latency_ms: f64,
packet_loss_pct: f64,
) -> i32Expand description
Set the communication domain on the builder.
This is a simplified interface for the most common communication fields. String parameters use null for “not set”. Integer parameters use -1 for “not set”.
§Parameters
is_connected— Network connected: 1/0/-1signal_strength_dbm— WiFi/cellular signal strength, ori32::MINlatency_ms— Network latency, or NANpacket_loss_pct— Packet loss percentage, or NAN