media/src/main/java/android/support/v4/media/session/MediaControllerCompat.java
public void unregisterCallback(@NonNull Callback callback) {
        if (callback == null) {
            throw new IllegalArgumentException("callback must not be null");
        }
        try {
            mRegisteredCallbacks.remove(callback);
            mImpl.unregisterCallback(callback);
        } finally {
            callback.setHandler(null);
        }
    }
/**
     * Stops receiving updates on the specified callback. If an update has
     * already been posted you may still receive it after calling this method.
     *
     * @param callback The callback to remove
     */
Stops receiving updates on the specified callback. If an update has
already been posted you may still receive it after calling this method.

@param callback The callback to remove
Stops receiving updates on the specified callback . If an update has already been posted you may still receive it after calling this method . @param callback The callback to remove
public void unregisterCallback(@NonNull Callback callback) {
        if (callback == null) {
            throw new IllegalArgumentException("callback must not be null");
        }
        try {
            mRegisteredCallbacks.remove(callback);
            mImpl.unregisterCallback(callback);
        } finally {
            callback.setHandler(null);
        }
    }
public void unregisterCallback ( @ NonNull Callback callback ) { if ( callback == null ) { throw new IllegalArgumentException ( "callback must not be null" ) ; } try { mRegisteredCallbacks . remove ( callback ) ; mImpl . unregisterCallback ( callback ) ; } finally { callback . setHandler ( null ) ; } }
Stops receiving updates on the specified callback.
Stops receiving updates on the specified callback .