mirror of https://github.com/TeamNewPipe/NewPipe
26 lines
461 B
Java
26 lines
461 B
Java
package org.schabi.newpipe.playlist.events;
|
|
|
|
|
|
public class MoveEvent implements PlayQueueMessage {
|
|
final private int from;
|
|
final private int to;
|
|
|
|
@Override
|
|
public PlayQueueEvent type() {
|
|
return PlayQueueEvent.MOVE;
|
|
}
|
|
|
|
public MoveEvent(final int from, final int to) {
|
|
this.from = from;
|
|
this.to = to;
|
|
}
|
|
|
|
public int getFrom() {
|
|
return from;
|
|
}
|
|
|
|
public int getTo() {
|
|
return to;
|
|
}
|
|
}
|