canActivity

fun canActivity(context: Context): Boolean

Returns whether or not the activity recognition permission has been granted

Return

status of activity Recognition permission

Parameters

context

Android application context