setCallbackConnectionInitiated method
void
setCallbackConnectionInitiated()
Sets callbackConnectionInitiated callback that executes every time a connection is initiated.
Implementation
void setCallbackConnectionInitiated(
String callbackId, Function(Device) callbackConnectionInitiated) {
this.callbackConnectionInitiated[callbackId] = callbackConnectionInitiated;
}