2020-06-22 18:35:58 +02:00
|
|
|
package org.moire.ultrasonic.service;
|
|
|
|
|
|
|
|
import org.moire.ultrasonic.domain.MusicDirectory;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
2020-06-26 15:18:14 +02:00
|
|
|
/**
|
|
|
|
* Represents the state of the Media Player implementation
|
|
|
|
*/
|
2020-06-22 18:35:58 +02:00
|
|
|
public class State implements Serializable
|
|
|
|
{
|
|
|
|
public static final long serialVersionUID = -6346438781062572270L;
|
|
|
|
|
2021-09-05 09:34:38 +02:00
|
|
|
public List<MusicDirectory.Entry> songs = new ArrayList<>();
|
2020-06-22 18:35:58 +02:00
|
|
|
public int currentPlayingIndex;
|
|
|
|
public int currentPlayingPosition;
|
|
|
|
}
|