SpatialMediaPlayerTester
public final class SpatialMediaPlayerTester
A test utility for accessing and inspecting the spatial data associated with the SpatialMediaPlayer.
Summary
Public methods
getPointSourceParams
public final PointSourceParams getPointSourceParams()
The PointSourceParams that are currently set for this MediaPlayer.
This is useful for verifying if the MediaPlayer has been updated with the intended parameters via SpatialMediaPlayer.setPointSourceParams.
getSoundFieldAttributes
public final SoundFieldAttributes getSoundFieldAttributes()
The SoundFieldAttributes that are currently set for this MediaPlayer.
This is useful for verifying if the MediaPlayer has been updated with the intended attributes via SpatialMediaPlayer.setSoundFieldAttributes.
isCurrentPointSource
public final boolean isCurrentPointSource(@NonNull Entity entity)
Checks whether the given entity is currently configured as the point source for the associated MediaPlayer.
This returns true if the entity was passed to SpatialMediaPlayer.setPointSourceParams for this MediaPlayer.
