Skip to main content

declare_phone

Function declare_phone 

Source
pub fn declare_phone(folder: &Path, phone: Vec<u8>)
Expand description

Declares that folder is an app’s own folder on a phone, which no other app reaches, and phone the phone’s ID, which the app keeps where the system never copies it to another phone: the replicas in it are told from copies by the phone’s ID alone, as the folder’s path may change when the app is updated.