Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UpdatePodcastStatusEvent.java « podcast « events « owncloudnewsreader « luhmer « de « java « main « src « News-Android-App - github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f26bbf440be60d32c1e8c3ca1bef7bad561c3c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package de.luhmer.owncloudnewsreader.events.podcast;

/**
 * Created by David on 20.06.2014.
 */
public class UpdatePodcastStatusEvent {

    private long current;
    private long max;
    private String title;
    private boolean playing;
    private boolean preparingFile;

    public String getTitle() {
        return title;
    }

    public boolean isPlaying() {
        return playing;
    }

    public long getCurrent() {
        return current;
    }

    public long getMax() {
        return max;
    }

    public boolean isPreparingFile() {
        return preparingFile;
    }

    public UpdatePodcastStatusEvent(long current, long max, boolean playing, String title, boolean preparingFile) {
        this.current = current;
        this.max = max;
        this.playing = playing;
        this.title = title;
        this.preparingFile = preparingFile;
    }

}