@Override
  public String toString() {
    return String.format("PinInfo {mPin=%s, mIndex=%s, mIsHotp=%s, mHotpCodeGenerationAllowed=%s}",
        mPin, mIndex, mIsHotp, mHotpCodeGenerationAllowed);
  }
Constructor of {@link PinInfo}.

@param index {@link AccountIndex} that owns the pin
@param isHotp represents whether the OTP type is TOTP or HOTP
java/com/google/android/apps/authenticator/otp/PinInfo.java