20 lines
474 B
Kotlin
20 lines
474 B
Kotlin
package org.moire.ultrasonic.service;
|
|
|
|
import org.moire.ultrasonic.domain.Track;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Represents the state of the Media Player implementation
|
|
*/
|
|
public class State implements Serializable
|
|
{
|
|
public static final long serialVersionUID = -6346438781062572270L;
|
|
|
|
public List<Track> songs = new ArrayList<>();
|
|
public int currentPlayingIndex;
|
|
public int currentPlayingPosition;
|
|
}
|