setCallback method
- @Deprecated('Please use setProbeCallback & setProbeBoxCallback instead')
void
setCallback(
{ - OnGetVersion? onGetVersion,
- VoidCallback? onRequestSyncTime,
- OnSetResult? onSetResult,
- OnSyncTimeResult? onSyncTimeResult,
- OnGetBattery? onGetBattery,
- OnSwitchUnit? onSwitchUnit,
- OnGetRealTimeData? onGetRealTimeData,
- OnGetProbeInfo? onGetProbeInfo,
- OnGetProbeInfoFailure? onGetProbeInfoFailure,
- OnGetProbeBoxInfo? onGetProbeChargingBoxInfo,
})
Implementation
@Deprecated('Please use setProbeCallback & setProbeBoxCallback instead')
void setCallback({
OnGetVersion? onGetVersion,
VoidCallback? onRequestSyncTime,
OnSetResult? onSetResult,
OnSyncTimeResult? onSyncTimeResult,
OnGetBattery? onGetBattery,
OnSwitchUnit? onSwitchUnit,
OnGetRealTimeData? onGetRealTimeData,
OnGetProbeInfo? onGetProbeInfo,
OnGetProbeInfoFailure? onGetProbeInfoFailure,
OnGetProbeBoxInfo? onGetProbeChargingBoxInfo,
}) {
this.onGetVersion = onGetVersion;
this.onRequestSyncTime = onRequestSyncTime;
this.onSetResult = onSetResult;
this.onSyncTimeResult = onSyncTimeResult;
this.onGetBattery = onGetBattery;
this.onSwitchUnit = onSwitchUnit;
this.onGetRealTimeData = onGetRealTimeData;
this.onGetProbeInfo = onGetProbeInfo;
this.onGetProbeInfoFailure = onGetProbeInfoFailure;
this.onGetProbeChargingBoxInfo = onGetProbeChargingBoxInfo;
}