PositionalAudioComponentTester


class PositionalAudioComponentTester


A test-only accessor for PositionalAudioComponent that enables direct manipulation and inspection of its internal state.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

audioOutputProvider

Added in 1.0.0-alpha16
var audioOutputProviderAudioOutputProvider

The AudioOutputProvider used by the PositionalAudioComponent.audioOutputProvider.

Setting this property simulates the configuration of an AudioOutputProvider, e.g. a androidx.media3.exoplayer.audio.ForwardingAudioOutputProvider, that can be used to configure an androidx.media3.exoplayer.ExoPlayer.Builder for positional audio playback.

pointSourceParams

Added in 1.0.0-alpha16
val pointSourceParamsPointSourceParams

The PointSourceParams that are currently set for this spatial audio source.

This is useful for verifying if the component has been updated with the intended parameters via PositionalAudioComponent.pointSourceParams.