NetState enum

Network state enum. Using as argument of event 'onNetworkStateChanged'

Inheritance
Available extensions

Values

lost → const NetState

Network connection lost

const NetState(SiprixVoipSdk.kNetStateLost, "Lost")
restored → const NetState

Network connection restored

const NetState(SiprixVoipSdk.kNetStateRestored, "Restored")
switched → const NetState

Network connection switched (from Wifi to Wifi or from Wifi to LTE)

const NetState(SiprixVoipSdk.kNetStateSwitched, "Switched")

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
Value
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
User friendly name of the selected option
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

from(int val) NetState
Create enum item from int value

Constants

values → const List<NetState>
A constant List of the values in this enum, in order of their declaration.