setRestoreBond
Sets whether a new bond should be created after the DFU is complete. The old bond information will be removed before. Please see the EXTRA_RESTORE_BOND for more information regarding requirements.
This flag is ignored when Secure DFU Buttonless Service is used. It will keep or will not restore the bond depending on the Buttonless service type.
Return
the builder
Parameters
restoreBond
whether the bond should be created after the DFU is complete.