Enroll a Previously Enrolled Device

Use the information in this section to enroll a previously enrolled device by using the
reEnrollDevice
activity. This activity enables you to perform device re-enrollment through the SDK by supplying a stored serial number. This streamlined workflow eliminates the need for the merchant to manually select or enter the serial number during re-enrollment.
  1. Use the
    reEnrollDevice
    activity to enroll the previously enrolled device.
    val mposUi: MposUi = ... mposUi.tapToPhone.reEnrollDevice(activity, serialNumber, requestCode) ... override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { if (EnrollResultIntent.isEnrollmentSuccessful(resultCode, data)) { onDeviceEnrolled() } super.onActivityResult(requestCode, resultCode, data) }

    Step Result

    The
    enroll
    activity returns the result
    Intent
    .