/** * @throws OSStatusException * @since Available in iOS 2.1 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated public static void removePropertyListener(AudioSessionProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AUPropertyType id, AUPropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<AUPropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<AUPropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AudioQueueProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @throws OSStatusException * @since Available in iOS 2.1 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated public static void removePropertyListener(AudioSessionProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.1 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated public static void removePropertyListener(AudioSessionProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AUPropertyType id, AUPropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<AUPropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<AUPropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AUPropertyType id, AUPropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<AUPropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<AUPropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AudioQueueProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @since Available in iOS 2.0 and later. */ public void removePropertyListener(AudioQueueProperty id, PropertyListener listener) throws OSStatusException { synchronized (propertyListeners) { for (Iterator<LongMap.Entry<PropertyListener>> it = propertyListeners.entries().iterator(); it.hasNext();) { LongMap.Entry<PropertyListener> entry = it.next(); if (entry.value == listener) { OSStatus status = removePropertyListener0(id, new FunctionPtr(cbPropertyChanged), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 2.0 and later. */ public void removeRenderNotify(AURenderCallback callback) throws OSStatusException { synchronized (renderCallbacks) { for (Iterator<LongMap.Entry<AURenderCallback>> it = renderCallbacks.entries().iterator(); it.hasNext();) { LongMap.Entry<AURenderCallback> entry = it.next(); if (entry.value == callback) { OSStatus status = removeRenderNotify0(new FunctionPtr(cbRender), entry.key); OSStatusException.throwIfNecessary(status); } } } } /**