nRF Connect Device Manager
Toggle table of contents
3.2.0
release
Target filter
release
Switch theme
Search in API
Skip to content
nRF Connect Device Manager
mcumgr-core
/
no.nordicsemi.android.mcumgr.response.suit
/
KnownRole
/
getOrNull
get
Or
Null
@
Nullable
open
fun
getOrNull
(
role
:
Int
)
:
@
Nullable
KnownRole
Returns the role as a
KnownRole
enum, or null if the role is unknown.