Esempio n. 1
0
        public static void SaveHeadsetData(HeadsetCalibrationData data, string filename)
        {
            string path = Path.Combine(GetDocumentsFolderPath(), RootDirectoryName, HeadsetDataDirectory, $"{filename}.json");

            File.WriteAllBytes(path, data.Serialize());
        }
 private void SendHeadsetCalibrationDataPayload(HeadsetCalibrationData data)
 {
     byte[] payload = data.Serialize();
     Updated?.Invoke(payload);
 }