2017-09-02 20:06:36 +02:00
|
|
|
package org.schabi.newpipe.playlist.events;
|
|
|
|
|
|
|
|
|
2017-10-23 03:58:01 +02:00
|
|
|
public class AppendEvent implements PlayQueueEvent {
|
2017-09-03 04:30:34 +02:00
|
|
|
final private int amount;
|
2017-09-02 20:06:36 +02:00
|
|
|
|
|
|
|
@Override
|
2017-10-23 03:58:01 +02:00
|
|
|
public PlayQueueEventType type() {
|
|
|
|
return PlayQueueEventType.APPEND;
|
2017-09-02 20:06:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public AppendEvent(final int amount) {
|
|
|
|
this.amount = amount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getAmount() {
|
|
|
|
return amount;
|
|
|
|
}
|
|
|
|
}
|