startAngularPanning abstract method
- CustomPanningData? nextCustomPanningData,
- SpatialAudioCuePanningspatialAzimuthStarted azimuthCallback
This method will retrieve a stream of azimuth values to be passed onto the spatial audio renderer.
An optional custom value for CustomPanningData.estimatedAudioCueDuration, CustomPanningData.initialAzimuthInDegrees, or its CustomPanningData.sweepAzimuthInDegrees can be here defined if the default data does not fully match the utilized Language or TTS engine or angle expectations. If startAngularPanning is called to spatialize the audio cue of a new maneuver before the full completion of a previous spatial audio trajectory, then EventTextListener will retrieve the azimuth values of the new maneuver.
-
nextCustomPanningDataDefines a new set of values related to spatial audio panning. When CustomPanningData is initialized asnull, the default set of values provided by HERE SDK will be used instead. -
azimuthCallbackCallback that will signal the next azimuth required to complete a spatial audio trajectory once the angular panning has started. Azimuth angular values are retrieved individually until the full duration of the audio trajectory has been reached, or a new text message has started its angular panning.
Implementation
void startAngularPanning(CustomPanningData? nextCustomPanningData, SpatialAudioCuePanningspatialAzimuthStarted azimuthCallback);