Пример #1
0
        private static void SetNetworkType()
        {
            var network = new GetNetworkTypeObject {
                success = (res) => { Adapter.SetStorageSync(BeaconSdk.Prefix + BeaconSdk.Nt, res.networkType); }
            };

            Adapter.GetNetworkType(network);
        }
Пример #2
0
 public static void GetNetworkType(GetNetworkTypeObject obj)
 {
     obj.fail?.Invoke("ERROR");
 }