FakeXrExtensions.FakeMediaPlayerExtensions


class FakeXrExtensions.FakeMediaPlayerExtensions


Fake MediaPlayerExtensions.

Summary

Public constructors

Public functions

MediaPlayer
MediaPlayer

Sets the SoundFieldAttributes on the provided MediaPlayer.

Public constructors

FakeMediaPlayerExtensions

Added in 1.0.0-alpha01
FakeMediaPlayerExtensions()

Public functions

setPointSourceAttributes

Added in 1.0.0-alpha01
@CanIgnoreReturnValue
fun setPointSourceAttributes(
    mediaPlayer: MediaPlayer,
    attributes: PointSourceAttributes?
): MediaPlayer
Parameters
mediaPlayer: MediaPlayer

The MediaPlayer on which to set the attributes.

attributes: PointSourceAttributes?

The source attributes to be set.

Returns
MediaPlayer

The same MediaPlayer instance provided.

setSoundFieldAttributes

Added in 1.0.0-alpha01
@CanIgnoreReturnValue
fun setSoundFieldAttributes(
    mediaPlayer: MediaPlayer,
    attributes: SoundFieldAttributes?
): MediaPlayer

Sets the SoundFieldAttributes on the provided MediaPlayer.

Parameters
mediaPlayer: MediaPlayer

The MediaPlayer on which to set the attributes.

attributes: SoundFieldAttributes?

The source attributes to be set.

Returns
MediaPlayer

The same MediaPlayer instance provided.

Public properties

pointSourceAttributes

Added in 1.0.0-alpha01
val pointSourceAttributesPointSourceAttributes!

soundFieldAttributes

Added in 1.0.0-alpha01
val soundFieldAttributesSoundFieldAttributes!