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.managers
/
LogManager
/
State
State
open
class
State
Used to track of the state of a log and hold the collected entries.
Members
Constructors
State
Link copied to clipboard
constructor
(
name
:
String
)
constructor
(
name
:
String
,
nextIndex
:
Long
)
Functions
get
Entries
Link copied to clipboard
open
fun
getEntries
(
)
:
List
<
McuMgrLogResponse.Entry
>
Get collected entries for this log.
get
Name
Link copied to clipboard
open
fun
getName
(
)
:
String
Get the name of the log.
get
Next
Index
Link copied to clipboard
open
fun
getNextIndex
(
)
:
Long
The next index for collecting new entries for this log.
reset
Link copied to clipboard
open
fun
reset
(
)
Reset the next index to 0 and clear the entry list.
set
Next
Index
Link copied to clipboard
open
fun
setNextIndex
(
nextIndex
:
Long
)
Set the next index to collecting new entries for this log.