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 }
public static bool IsPermissionGranted(AN_Permission permission) { return(IsPermissionGranted(permission.GetFullName())); }