Permission Check Util
Created by jiangecho on 2016/10/25.
Types
Functions
Link copied to clipboard
检查是否有悬浮窗权限
Link copied to clipboard
Link copied to clipboard
public static boolean checkPermissionResultIncompatible(Array<String> permissions, Array<int> grantResults)
权限授权回调参数匹配性检测.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static boolean requestPermissions(Activity activity, Array<String> permissions, int requestCode)
public static boolean requestPermissions(Fragment fragment, Array<String> permissions, int requestCode)
Link copied to clipboard
public static void setRequestPermissionListListener(PermissionCheckUtil.IRequestPermissionListListener listener)
设置申请权限前拦截监听
Link copied to clipboard
public static void showRequestPermissionFailedAlter(Context context, Array<String> permissions, Array<int> grantResults)