コード例 #1
0
    public static bool ShouldShowRequestPermission(AN_Permission permission)
    {
#if UNITY_ANDROID
        bool val = AN_ProxyPool.CallStatic <bool>(PM_CLASS_NAME, "shouldShowRequestPermissionRationale", permission.GetFullName());
        return(val);
#else
        return(false);
#endif
    }
コード例 #2
0
 public static bool IsPermissionGranted(AN_Permission permission)
 {
     return(IsPermissionGranted(permission.GetFullName()));
 }