Instance Property

transportStateBlock

A callback to the host for transport state information.

Declaration

iOS, Mac Catalyst, tvOS
@property(copy, nonatomic) AUHostTransportStateBlock transportStateBlock;
macOS
@property(copy, atomic) AUHostTransportStateBlock transportStateBlock;

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

musicalContextBlock

A callback to the host for musical context information.

contextName

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