JxrPlatformAdapter.MediaPlayerExtensionsWrapper


interface JxrPlatformAdapter.MediaPlayerExtensionsWrapper


Interface for a SceneCore MediaPlayerExtensionsWrapper

Summary

Public functions

Unit

Sets the PointSourceAttributes of the MediaPlayer.

Unit

Sets the SoundFieldAttributes of the MediaPlayer.

Public functions

setPointSourceAttributes

Added in 1.0.0-alpha02
fun setPointSourceAttributes(
    mediaPlayer: MediaPlayer,
    attributes: JxrPlatformAdapter.PointSourceAttributes
): Unit

Sets the PointSourceAttributes of the MediaPlayer.

Parameters
mediaPlayer: MediaPlayer

The MediaPlayer to set the PointSourceAttributes on.

attributes: JxrPlatformAdapter.PointSourceAttributes

The PointSourceAttributes to set.

setSoundFieldAttributes

Added in 1.0.0-alpha02
fun setSoundFieldAttributes(
    mediaPlayer: MediaPlayer,
    attributes: JxrPlatformAdapter.SoundFieldAttributes
): Unit

Sets the SoundFieldAttributes of the MediaPlayer.

Parameters
mediaPlayer: MediaPlayer

The MediaPlayer to set the SoundFieldAttributes on.

attributes: JxrPlatformAdapter.SoundFieldAttributes

The SoundFieldAttributes to set.