FakeMediaPlayerExtensionsWrapper


class FakeMediaPlayerExtensionsWrapper


Test-only implementation of MediaPlayerExtensionsWrapper

Summary

Public constructors

Public functions

open Unit

Sets the PointSourceParams of the MediaPlayer.

open Unit
setSoundFieldAttributes(
    mediaPlayer: MediaPlayer,
    attributes: SoundFieldAttributes
)

Sets the SoundFieldAttributes of the MediaPlayer.

Public constructors

FakeMediaPlayerExtensionsWrapper

Added in 1.0.0-alpha04
FakeMediaPlayerExtensionsWrapper()

Public functions

setPointSourceParams

Added in 1.0.0-alpha04
open fun setPointSourceParams(mediaPlayer: MediaPlayer, params: PointSourceParams): Unit

Sets the PointSourceParams of the MediaPlayer.

Parameters
mediaPlayer: MediaPlayer

The MediaPlayer to set the PointSourceParams on.

params: PointSourceParams

The PointSourceParams to set.

setSoundFieldAttributes

Added in 1.0.0-alpha04
open fun setSoundFieldAttributes(
    mediaPlayer: MediaPlayer,
    attributes: SoundFieldAttributes
): Unit

Sets the SoundFieldAttributes of the MediaPlayer.

Parameters
mediaPlayer: MediaPlayer

The MediaPlayer to set the SoundFieldAttributes on.

attributes: SoundFieldAttributes

The SoundFieldAttributes to set.