Unbinds a native event callback on the specified target.
508999
function removeEvent(target, name, callback, capture) {
      if (target.removeEventListener) {
        target.removeEventListener(name, callback, capture || false);
      } else if (target.detachEvent) {
        target.detachEvent('on' + name, callback);
      }
    }
1147282
function(updater) {
                    for (var name in readInfo.observed) {
                        var ob = readInfo.observed[name];
                        ob.obj.unbind(ob.event, onchanged);
                    }
                }
398159
public void unregisterCallback(UOWScopeCallback callback)
    {
        if (tc.isEntryEnabled()) Tr.entry(tc, "unregisterCallback", new Object[]{callback, this});
        
        _callbackManager.removeCallback(callback);
        
        if (tc.isEntryEnabled()) Tr.exit(tc, "unregisterCallback");
    }
1025085
def unbind(self, func, etype):
        '''
        
        '''
        i= self.event_funcs[etype].index(func)
        del self.event_funcs[etype][i]
782675
def remove_callback(self, callback) -> None:
        """"""
        if callback in self._callbacks:
            self._callbacks.remove(callback)
146369
@NonNull @UiThread
  public static Unbinder bind(@NonNull Object target, @NonNull View source) {
    Class<?> targetClass = target.getClass();
    if (debug) Log.d(TAG, "Looking up binding for " + targetClass.getName());
    Constructor<? extends Unbinder> constructor = findBindingConstructorForClass(targetClass);

    if (constructor == null) {
      return Unbinder.EMPTY;
    }

    //noinspection TryWithIdenticalCatches Resolves to API 19+ only type.
    try {
      return constructor.newInstance(target, source);
    } catch (IllegalAccessException e) {
      throw new RuntimeException("Unable to invoke " + constructor, e);
    } catch (InstantiationException e) {
      throw new RuntimeException("Unable to invoke " + constructor, e);
    } catch (InvocationTargetException e) {
      Throwable cause = e.getCause();
      if (cause instanceof RuntimeException) {
        throw (RuntimeException) cause;
      }
      if (cause instanceof Error) {
        throw (Error) cause;
      }
      throw new RuntimeException("Unable to create binding instance.", cause);
    }
  }
1232349
def unbind(self, handler, argspec):
        
        self.handlers[argspec.key].remove((handler, argspec))
        if not len(self.handlers[argspec.key]):
            del self.handlers[argspec.key]
1037602
function unbindToFunction(target, entity, evt, method){
      target.stopListening(entity, evt, method, target);
  }
1101079
public static void unbindActionListeners(IActionTarget target, List<ActionListener> actionListeners) {
        if (actionListeners != null) {
            for (ActionListener listener : actionListeners) {
                listener.unbind(target);
            }
        }
    }
7675
function(target, events) {
      for (var i = 0, l = events.length, e; (i < l) && (e = events[i]); i++) {
        this.removeEvent(target, e);
      }
    }
749586
def remove_event_handler(self, callback, event=None):
        
        found = 0
        if event and not isinstance(event, type):
            event = type(event)

        i = len(self._event_builders)
        while i:
            i -= 1
            ev, cb = self._event_builders[i]
            if cb == callback and (not event or isinstance(ev, event)):
                del self._event_builders[i]
                found += 1

        return found
949770
public void unsubscribe() {
        List<InvocationHandler> handler = this.handlers.get(target);
        if (handler != null) {
            handler.remove(this.handler);
        }
    }
545732
def off(  # pylint: disable=keyword-arg-before-vararg
            self, event: str = None, *handlers: T.Callable
    ) -> None:
        """"""

        if not event:
            self._events.clear()
            return

        if event not in self._events:
            raise EventNotFound(event)

        if not handlers:
            self._events.pop(event)
            return

        for callback in handlers:
            if callback not in self._events[event]:
                raise HandlerNotFound(event, callback)
            while callback in self._events[event]:
                self._events[event].remove(callback)
        return
1042446
@Api
	public void unregisterHandler(EventType eventType) {

		if (!jsHandlersMap.containsKey(eventType)) {
			return;
		}

		HammerGwt.off(hammertime, eventType, (NativeHammmerHandler) jsHandlersMap.remove(eventType));
	}
39448
function off(event, callback) {
    if (callback) {
      listeners[event].splice(listeners[event].indexOf(callback), 1);
    }
    else {
      listeners[event] = [];
    }
  }
307660
function off (state, eventName, handler) {
  if (arguments.length === 2) {
    state.emitter.removeAllListeners(eventName)
  } else {
    state.emitter.removeListener(eventName, handler)
  }

  return state.api
}
694855
@NonNull @UiThread
  public static Unbinder bind(@NonNull Object target, @NonNull View source) {
    List<Unbinder> unbinders = new ArrayList<>();
    Class<?> targetClass = target.getClass();
    if ((targetClass.getModifiers() & PRIVATE) != 0) {
      throw new IllegalArgumentException(targetClass.getName() + " must not be private.");
    }

    while (true) {
      String clsName = targetClass.getName();
      if (clsName.startsWith("android.") || clsName.startsWith("java.")
          || clsName.startsWith("androidx.")) {
        break;
      }

      for (Field field : targetClass.getDeclaredFields()) {
        int unbinderStartingSize = unbinders.size();
        Unbinder unbinder;

        unbinder = parseBindView(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindViews(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindAnim(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindArray(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindBitmap(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindBool(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindColor(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindDimen(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindDrawable(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindFloat(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindFont(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindInt(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseBindString(target, field, source);
        if (unbinder != null) unbinders.add(unbinder);

        if (unbinders.size() - unbinderStartingSize > 1) {
          throw new IllegalStateException(
              "More than one bind annotation on " + targetClass.getName() + "." + field.getName());
        }
      }

      for (Method method : targetClass.getDeclaredMethods()) {
        Unbinder unbinder;

        unbinder = parseOnCheckedChanged(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnClick(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnEditorAction(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnFocusChange(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnItemClick(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnItemLongClick(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnLongClick(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnPageChange(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnTextChanged(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);

        unbinder = parseOnTouch(target, method, source);
        if (unbinder != null) unbinders.add(unbinder);
      }

      targetClass = targetClass.getSuperclass();
    }

    if (unbinders.isEmpty()) {
      if (debug) Log.d(TAG, "MISS: Reached framework class. Abandoning search.");
      return Unbinder.EMPTY;
    }

    if (debug) Log.d(TAG, "HIT: Reflectively found " + unbinders.size() + " bindings.");
    return new CompositeUnbinder(unbinders);
  }