ProvisioningEvent class

A class that may be used to listen to provisioning progress.

When the provisioning method is running, if the caller passed a ProvisioningEvent instance, events will be streamed to notify about the current state.

Constructors

ProvisioningEvent()

Properties

hashCode int
The hash code for this object.
no setterinherited
onConfigAppKeyStatus Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when the app key has been received by the new node
no setter
onConfigCompositionDataStatus Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when the mesh composition data has been received
no setter
onProvisioning Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when the main part of the provisioning is about to begin
no setter
onProvisioningCapabilities Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when the provisioning capabilities have been received
no setter
onProvisioningGattError Stream<BleManagerCallbacksError>
A Stream that will contain a BleManagerCallbacksError (unexpected error that should be handled by plugin user)
no setter
onProvisioningInvitation Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when the provisioning invite has been sent
no setter
onProvisioningReconnect Stream<DiscoveredDevice>
A Stream that will contain the DiscoveredDevice when provisioning is completed and we try to reconnect to the new node
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
Will clear used resources
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