Instance Property

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

Host Callbacks

var musicalContextBlock: AUHostMusicalContextBlock?

A callback to the host for musical context information.

var transportStateBlock: AUHostTransportStateBlock?

A callback to the host for transport state information.