FakeXrExtensions.FakeMediaPlayerExtensions


public class FakeXrExtensions.FakeMediaPlayerExtensions


Fake MediaPlayerExtensions.

Summary

Public constructors

Public fields

pointSourceAttributes

Added in 1.0.0-alpha01
public PointSourceAttributes pointSourceAttributes

soundFieldAttributes

Added in 1.0.0-alpha01
public SoundFieldAttributes soundFieldAttributes

Public constructors

FakeMediaPlayerExtensions

Added in 1.0.0-alpha01
public FakeMediaPlayerExtensions()

Public methods

getPointSourceAttributes

Added in 1.0.0-alpha01
public @Nullable PointSourceAttributes getPointSourceAttributes()

getSoundFieldAttributes

Added in 1.0.0-alpha01
public @Nullable SoundFieldAttributes getSoundFieldAttributes()

setPointSourceAttributes

Added in 1.0.0-alpha01
@CanIgnoreReturnValue
public @NonNull MediaPlayer setPointSourceAttributes(
    @NonNull MediaPlayer mediaPlayer,
    @Nullable PointSourceAttributes attributes
)
Parameters
@NonNull MediaPlayer mediaPlayer

The MediaPlayer on which to set the attributes.

@Nullable PointSourceAttributes attributes

The source attributes to be set.

Returns
@NonNull MediaPlayer

The same MediaPlayer instance provided.

setSoundFieldAttributes

Added in 1.0.0-alpha01
@CanIgnoreReturnValue
public @NonNull MediaPlayer setSoundFieldAttributes(
    @NonNull MediaPlayer mediaPlayer,
    @Nullable SoundFieldAttributes attributes
)

Sets the SoundFieldAttributes on the provided MediaPlayer.

Parameters
@NonNull MediaPlayer mediaPlayer

The MediaPlayer on which to set the attributes.

@Nullable SoundFieldAttributes attributes

The source attributes to be set.

Returns
@NonNull MediaPlayer

The same MediaPlayer instance provided.