Contents

contextName

Information about the host context in which the audio unit is connected, for display in the audio unit’s view.

Declaration

var contextName: String? { get set }

Discussion

For example—a host could set “track 3” as the context, so that the audio unit’s view could then display “My audio unit on track 3”.

This version 3 property is bridged to the version 2 kAudioUnitProperty_ContextName API.

See Also

Providing Data to the Host