Instance Property

transportStateBlock

A callback to the host for transport state information.

Declaration

var transportStateBlock: AUHostTransportStateBlock? { get set }

Discussion

An audio unit accessing this property should cache it in realtime-safe storage before beginning to render.

This version 3 property is bridged to the version 2 HostCallback_GetTransportState and HostCallback_GetTransportState2 callback members in the kAudioUnitProperty_HostCallbacks API.

See Also

Host Callbacks

var musicalContextBlock: AUHostMusicalContextBlock?

A callback to the host for musical context information.

var contextName: String?

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software