예제 #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");
 }