toggle menu
flatInvoker
common
switch theme
search in API
reaktor-core
/
dev.shibasis.reaktor.core.adapters
/
PermissionAdapter
Permission
Adapter
abstract
class
PermissionAdapter
<
Controller
>
(
controller
:
Controller
)
:
Adapter
<
Controller
>
Inheritors
AndroidPermissionAdapter
DarwinPermissionAdapter
Members
Constructors
Permission
Adapter
Link copied to clipboard
constructor
(
controller
:
Controller
)
Properties
controller
Link copied to clipboard
val
controller
:
Controller
?
NULL_CONTROLLER
Link copied to clipboard
val
NULL_CONTROLLER
:
Error
ref
Link copied to clipboard
val
ref
:
WeakRef
<
Controller
>
scope
Link copied to clipboard
val
scope
:
CoroutineScope
Functions
handle
Link copied to clipboard
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
Controller
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
operator
fun
<
Result
>
invoke
(
function
:
Controller
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
Controller
.
(
)
->
Result
?
)
:
Result
?
null
Controller
Result
Link copied to clipboard
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
request
Link copied to clipboard
abstract
suspend
fun
request
(
vararg
permissions
:
String
)
:
Boolean
request
Optional
Link copied to clipboard
suspend
fun
requestOptional
(
vararg
permissions
:
String
)
:
Map
<
String
,
PermissionResult
>