Contents

sendDataToAudioExtension(_:)

Forward a frame of IMU sensor data from the accessory to the Spatial Audio renderer.

Declaration

final func sendDataToAudioExtension(_ data: Data) throws

Parameters

  • data:

    The raw sensor frame as received from the accessory. Must be 1–70 bytes; otherwise AudioAccessoryError.invalidDataSize is thrown.

Discussion