2020-06-22 18:35:58 +02:00
|
|
|
package org.moire.ultrasonic.service;
|
|
|
|
|
2022-03-27 14:57:07 +02:00
|
|
|
import org.moire.ultrasonic.domain.Track;
|
2020-06-22 18:35:58 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2022-03-27 14:57:07 +02:00
|
|
|
public List<Track> songs = new ArrayList<>();
|
2020-06-22 18:35:58 +02:00
|
|
|
public int currentPlayingIndex;
|
|
|
|
public int currentPlayingPosition;
|
|
|
|
}
|