private static void SetNetworkType() { var network = new GetNetworkTypeObject { success = (res) => { Adapter.SetStorageSync(BeaconSdk.Prefix + BeaconSdk.Nt, res.networkType); } }; Adapter.GetNetworkType(network); }
public static void GetNetworkType(GetNetworkTypeObject obj) { obj.fail?.Invoke("ERROR"); }