Contents

AudioSessionRemovePropertyListenerWithUserData(_:_:_:)

Removes a property listener callback function from your application’s audio session object.

Declaration

func AudioSessionRemovePropertyListenerWithUserData(_ inID: AudioSessionPropertyID, _ inProc: AudioSessionPropertyListener!, _ inClientData: UnsafeMutableRawPointer!) -> OSStatus

Parameters

  • inID:

    The identifier for the audio session property whose value changes you no longer want to listen for.

  • inProc:

    The name of your property listener callback function.

  • inClientData:

    The same custom data for the property listener callback that you passed when calling the Audiosessionaddpropertylistener(_:_:_:) function.

Return Value

A result code. See Result Codes.

Discussion

Audio session properties are listed and described in Audio Session Property Identifiers.

See Also

Functions