private bool CallNativeBoolMethod(IntPtr methodPtr, object[] param) { if (androidJavaObject == null) { return(false); } return(AndroidUtils.CallNativeBoolMethod(AndroidJavaObjectPtr, methodPtr, param)); }
public bool CheckPermission() { if (androidJavaObject == null) { return(false); } return(AndroidUtils.CallNativeBoolMethod(AndroidJavaObjectPtr, HasPermissionPtr, EmptyParams)); }
private static bool IsPermissionGranted(string permissionName) { if (GetPermissionsService() == null) { return(false); } return(AndroidUtils.CallNativeBoolMethod( permissionObjectPtr, IsPermissionGrantedPtr, new object[] { permissionName })); }