NativeDtlsEngine.setOnPeerMigrated
void setOnPeerMigrated(DtlsPeerMigratedCallback callback) @safeSets the callback fired when a peer migrates to a new address.
Parameters
callback | Callback receiving the peer and old/new addresses. |
void setOnPeerMigrated(DtlsPeerMigratedCallback callback) @safeSets the callback fired when a peer migrates to a new address.
callback | Callback receiving the peer and old/new addresses. |