JxrPlatformAdapter.MediaPlayerExtensionsWrapper


public interface JxrPlatformAdapter.MediaPlayerExtensionsWrapper


Interface for a SceneCore MediaPlayerExtensionsWrapper

Summary

Public methods

abstract void

Sets the PointSourceAttributes of the MediaPlayer.

abstract void

Sets the SoundFieldAttributes of the MediaPlayer.

Public methods

setPointSourceAttributes

Added in 1.0.0-alpha02
abstract void setPointSourceAttributes(
    @NonNull MediaPlayer mediaPlayer,
    @NonNull JxrPlatformAdapter.PointSourceAttributes attributes
)

Sets the PointSourceAttributes of the MediaPlayer.

Parameters
@NonNull MediaPlayer mediaPlayer

The MediaPlayer to set the PointSourceAttributes on.

@NonNull JxrPlatformAdapter.PointSourceAttributes attributes

The PointSourceAttributes to set.

setSoundFieldAttributes

Added in 1.0.0-alpha02
abstract void setSoundFieldAttributes(
    @NonNull MediaPlayer mediaPlayer,
    @NonNull JxrPlatformAdapter.SoundFieldAttributes attributes
)

Sets the SoundFieldAttributes of the MediaPlayer.

Parameters
@NonNull MediaPlayer mediaPlayer

The MediaPlayer to set the SoundFieldAttributes on.

@NonNull JxrPlatformAdapter.SoundFieldAttributes attributes

The SoundFieldAttributes to set.