Sms
Toggle table of contents
Sms
Platform filter
Sms
Switch theme
Search in API
Sms
Sms
/
com.android.securesms.service.utils
/
PermissionManager
Permission
Manager
Sms
@
Singleton
class
PermissionManager
@
Inject
constructor
(
val
context
:
Context
)
PermissionActivity class handles app permissions
Since
v1.0.0
Members
Constructors
Permission
Manager
Link copied to clipboard
Sms
@
Inject
constructor
(
context
:
Context
)
Properties
context
Link copied to clipboard
Sms
private
val
context
:
Context
Functions
are
Notification
Permission
Granted
Link copied to clipboard
Sms
@
RequiresApi
(
value
=
33
)
fun
areNotificationPermissionGranted
(
)
:
Boolean
are
Read
Permission
Granted
Link copied to clipboard
Sms
fun
areReadPermissionGranted
(
)
:
Boolean
are
Receive
Permission
Granted
Link copied to clipboard
Sms
fun
areReceivePermissionGranted
(
)
:
Boolean
check
All
Permissions
Link copied to clipboard
Sms
fun
checkAllPermissions
(
)
:
Boolean
is
Granted
Link copied to clipboard
Sms
private
fun
AppPermission
.
isGranted
(
)
:
Boolean
notification
Permission
Link copied to clipboard
Sms
@
RequiresApi
(
value
=
33
)
fun
notificationPermission
(
)
:
String
request
All
Permissions
Link copied to clipboard
Sms
fun
requestAllPermissions
(
)
:
Array
<
String
>