JxrPlatformAdapter.AudioTrackExtensionsWrapper


public interface JxrPlatformAdapter.AudioTrackExtensionsWrapper


Interface for a SceneCore AudioTrackExtensionsWrapper

Summary

Public methods

abstract @Nullable JxrPlatformAdapter.PointSourceAttributes

Returns the PointSourceAttributes of the AudioTrack.

abstract @Nullable JxrPlatformAdapter.SoundFieldAttributes

Returns the SoundFieldAttributes of the AudioTrack.

abstract int

Returns the spatial source type of the AudioTrack.

abstract @NonNull AudioTrack.Builder

Sets the PointSourceAttributes of the AudioTrack.

abstract @NonNull AudioTrack.Builder

Sets the SoundFieldAttributes of the AudioTrack.

Public methods

getPointSourceAttributes

Added in 1.0.0-alpha02
abstract @Nullable JxrPlatformAdapter.PointSourceAttributes getPointSourceAttributes(@NonNull AudioTrack track)

Returns the PointSourceAttributes of the AudioTrack.

Parameters
@NonNull AudioTrack track

The AudioTrack to get the PointSourceAttributes from.

Returns
@Nullable JxrPlatformAdapter.PointSourceAttributes

The PointSourceAttributes of the AudioTrack.

getSoundFieldAttributes

Added in 1.0.0-alpha02
abstract @Nullable JxrPlatformAdapter.SoundFieldAttributes getSoundFieldAttributes(@NonNull AudioTrack track)

Returns the SoundFieldAttributes of the AudioTrack.

Parameters
@NonNull AudioTrack track

The AudioTrack to get the SoundFieldAttributes from.

Returns
@Nullable JxrPlatformAdapter.SoundFieldAttributes

The SoundFieldAttributes of the AudioTrack.

getSpatialSourceType

Added in 1.0.0-alpha02
abstract int getSpatialSourceType(@NonNull AudioTrack track)

Returns the spatial source type of the AudioTrack.

Parameters
@NonNull AudioTrack track

The AudioTrack to get the spatial source type from.

Returns
int

The spatial source type of the AudioTrack.

setPointSourceAttributes

Added in 1.0.0-alpha02
abstract @NonNull AudioTrack.Builder setPointSourceAttributes(
    @NonNull AudioTrack.Builder builder,
    @NonNull JxrPlatformAdapter.PointSourceAttributes attributes
)

Sets the PointSourceAttributes of the AudioTrack.

Parameters
@NonNull AudioTrack.Builder builder

The AudioTrack.Builder to set the PointSourceAttributes on.

@NonNull JxrPlatformAdapter.PointSourceAttributes attributes

The PointSourceAttributes to set.

Returns
@NonNull AudioTrack.Builder

The AudioTrack.Builder with the PointSourceAttributes set.

setSoundFieldAttributes

Added in 1.0.0-alpha02
abstract @NonNull AudioTrack.Builder setSoundFieldAttributes(
    @NonNull AudioTrack.Builder builder,
    @NonNull JxrPlatformAdapter.SoundFieldAttributes attributes
)

Sets the SoundFieldAttributes of the AudioTrack.

Parameters
@NonNull AudioTrack.Builder builder

The AudioTrack.Builder to set the SoundFieldAttributes on.

@NonNull JxrPlatformAdapter.SoundFieldAttributes attributes

The SoundFieldAttributes to set.

Returns
@NonNull AudioTrack.Builder

The AudioTrack.Builder with the SoundFieldAttributes set.