code: @MainThread
      private void handleRegistration(Object targetObj) {
          if (targetObj == null) {
              throw new NullPointerException("Target cannot be null");
          }
  
          for (EventTarget target : targets) {
              if (target.targetObj == targetObj) {
                  Utils.logE(targetObj, "Already registered");
                  return;
              }
          }
  
          EventTarget target = new EventTarget(targetObj);
          targets.add(target);
  
          Utils.log(targetObj, "Registered");
  
          scheduleActiveStatusesUpdates(target, EventStatus.STARTED);
          executeTasks(false);
      }
docs: Handles target object registration