PermissionAware

interface PermissionAware

Activity's permission delegate. Also see PermissionAwareDelegate.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Will ask for permission OR show rationale - if permission was already turned down.

Link copied to clipboard
abstract fun init(activity: Activity)

As this is meant to be a delegate part of activity - it needs activity to call methods on.

Link copied to clipboard
abstract fun openPermissionSettings()

Open system UI - permission settings for current application.

Link copied to clipboard
abstract fun tryAskCameraPermission()

Will only ask for permission if it is a first time app asking - no rationale will be shown.