Skip to main content

set_region_code_from_factory

Function set_region_code_from_factory 

Source
pub async fn set_region_code_from_factory() -> Result<(), Error>
Expand description

Read region code using fuchsia.hwinfo API, then set it using the fuchsia.location.namedplace API. Caller must have access to fuchsia.hwinfo.Product and fuchsia.location.namedplace.RegulatoryRegionConfigurator APIs before calling this function.