AndroidUtils
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
AndroidUtils
androidutils-core
/
com.w2sv.androidutils.net
Package-level
declarations
Functions
Functions
has
Permission
Link copied to clipboard
fun
Uri
.
hasPermission
(
context
:
Context
,
permissionCode
:
Int
,
readPermission
:
String
?
=
null
,
writePermission
:
String
?
=
null
,
pid
:
Int
=
Binder.getCallingPid()
,
uid
:
Int
=
Binder.getCallingUid()
)
:
Boolean
Checks whether the calling process has access to this
Uri
.