1
wxr
2023-03-31 7e42cc13a14b7de31c9f5d5c61cdf24f3246335d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using Android.Graphics;
using Com.Hdl.Widget;
 
namespace Shared
{
    public class HDLUtils
    {
 
        /// <summary>
        /// 重启APP
        /// </summary>
        public static void RestartApp() {
 
          HDLUtlisXM.RelaunchApp(Application.Activity, true);
 
        }
 
        /// <summary>
        /// 设置原生控件库 authorities的值
        /// </summary>
        public static void SetAuthoritiesName(string name)
        {
            HDLUtlisXM.MAuthorityNAME = name;
        }
 
        ///// <summary>
        ///// 生成二维码
        ///// </summary>
        //public static Bitmap createQRCode(string url, int size = 500)
        //{
        //    return HDLUtlisXM.CreateQRCode(url, size);
        //}
 
        
 
    }
}