AdHocType enum

Enum defining the type of events

Inheritance

Constructors

AdHocType()
const

Values

onDeviceDiscovered → const AdHocType

Device discovered (either Wi-Fi or Bluetooth enabled)

onDiscoveryStarted → const AdHocType

Start discovery process of peers

onDiscoveryCompleted → const AdHocType

End of discovery process

onDataReceived → const AdHocType

Data received from peers

onForwardData → const AdHocType

Data to be forward to peers

onConnection → const AdHocType

Successful connection to a peer

onConnectionClosed → const AdHocType

Connection aborted

onInternalException → const AdHocType

Exception raised in lower layer of the library

onGroupInfo → const AdHocType

Update on the secure group

onGroupDataReceived → const AdHocType

Data received from a group member

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

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