ip-devicer
Preparing search index...
IpStorage
Interface IpStorage
interface
IpStorage
{
clear
(
deviceId
?:
string
)
:
void
;
getHistory
(
deviceId
:
string
,
limit
?:
number
)
:
IpSnapshot
[]
;
getLatest
(
deviceId
:
string
)
:
IpSnapshot
|
null
;
save
(
snapshot
:
Omit
<
IpSnapshot
,
"id"
>
)
:
IpSnapshot
;
size
()
:
number
;
}
Index
Methods
clear
get
History
get
Latest
save
size
Methods
clear
clear
(
deviceId
?:
string
)
:
void
Parameters
Optional
deviceId
:
string
Returns
void
get
History
getHistory
(
deviceId
:
string
,
limit
?:
number
)
:
IpSnapshot
[]
Parameters
deviceId
:
string
Optional
limit
:
number
Returns
IpSnapshot
[]
get
Latest
getLatest
(
deviceId
:
string
)
:
IpSnapshot
|
null
Parameters
deviceId
:
string
Returns
IpSnapshot
|
null
save
save
(
snapshot
:
Omit
<
IpSnapshot
,
"id"
>
)
:
IpSnapshot
Parameters
snapshot
:
Omit
<
IpSnapshot
,
"id"
>
Returns
IpSnapshot
size
size
()
:
number
Number of unique device IDs currently stored.
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
clear
get
History
get
Latest
save
size
ip-devicer
Loading...
Number of unique device IDs currently stored.