iAdvize Android SDK
androidJvm
iAdvize Android SDK
/
com.iadvize.conversation.sdk.feature.network
/
NetworkStatusCallback
Network
Status
Callback
class
NetworkStatusCallback
(
val
name
:
String
,
val
onUpdated
:
(
Boolean
)
->
Unit
,
val
onPingRequested
:
(
)
->
Unit
)
:
ConnectivityManager.NetworkCallback
Members
Constructors
Network
Status
Callback
Link copied to clipboard
constructor
(
name
:
String
,
onUpdated
:
(
Boolean
)
->
Unit
,
onPingRequested
:
(
)
->
Unit
)
Properties
name
Link copied to clipboard
val
name
:
String
on
Ping
Requested
Link copied to clipboard
val
onPingRequested
:
(
)
->
Unit
on
Updated
Link copied to clipboard
val
onUpdated
:
(
Boolean
)
->
Unit
Functions
on
Available
Link copied to clipboard
open
override
fun
onAvailable
(
network
:
Network
)
on
Blocked
Status
Changed
Link copied to clipboard
open
fun
onBlockedStatusChanged
(
p0
:
Network
,
p1
:
Boolean
)
on
Capabilities
Changed
Link copied to clipboard
open
override
fun
onCapabilitiesChanged
(
network
:
Network
,
networkCapabilities
:
NetworkCapabilities
)
on
Link
Properties
Changed
Link copied to clipboard
open
fun
onLinkPropertiesChanged
(
p0
:
Network
,
p1
:
LinkProperties
)
on
Losing
Link copied to clipboard
open
fun
onLosing
(
p0
:
Network
,
p1
:
Int
)
on
Lost
Link copied to clipboard
open
override
fun
onLost
(
network
:
Network
)
on
Unavailable
Link copied to clipboard
open
override
fun
onUnavailable
(
)