sample/src/main/java/co/omkar/utility/ExampleActivity.java
@OPermission(values = {Permission.ACCESS_COARSE_LOCATION,
            Permission.ACCESS_FINE_LOCATION})
    void onLocationPermission(@Result boolean isGranted) {
        if (isGranted) {
            updateView("\n Location status Granted");
        } else {
            updateView("\n Location status Denied");
        }
    }
@OPermission(values = {Permission.ACCESS_COARSE_LOCATION,
            Permission.ACCESS_FINE_LOCATION})
    void onLocationPermission(@Result boolean isGranted) {
        if (isGranted) {
            updateView("\n Location status Granted");
        } else {
            updateView("\n Location status Denied");
        }
    }
@ OPermission ( values = { Permission . ACCESS_COARSE_LOCATION , Permission . ACCESS_FINE_LOCATION } ) void onLocationPermission ( @ Result boolean isGranted ) { if ( isGranted ) { updateView ( "\n Location status Granted" ) ; } else { updateView ( "\n Location status Denied" ) ; } }
<p>Executes this method on permission results.
Get boolean result as method parameter.</p>

@param isGranted True only if all permissions are granted else False.
<p > Executes this method on permission results . Get boolean result as method parameter . < / p >