예제 #1
0
 private static void SetUserInfo()
 {
     if (!Conf.GetUserInfo)
     {
         return;
     }
     var userInfo = new GetUserInfoObject {
         withCredentials = false,
         success         = (res) => {
             var n = res.userInfo;
             // n.nickName = encodeURIComponent(n.nickName);
             Adapter.SetStorageSync(BeaconSdk.Prefix + BeaconSdk.Ui, n.ToString());
         },
         fail = (res) => { }
     };
 }
예제 #2
0
 public static void GetUserInfo(GetUserInfoObject obj)
 {
     obj.fail?.Invoke("ERROR");
 }