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

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java')
-rw-r--r--News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
new file mode 100644
index 00000000..544b91c2
--- /dev/null
+++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
@@ -0,0 +1,32 @@
+package de.luhmer.owncloudnewsreader.model;
+
+import java.io.Serializable;
+
+/**
+ * Created by David on 21.06.2014.
+ */
+public class PodcastItem implements Serializable {
+
+ public PodcastItem() {
+
+ }
+
+ public PodcastItem(String itemId, String title, String link, String mimeType, boolean offlineCached) {
+ this.itemId = itemId;
+ this.title = title;
+ this.link = link;
+ this.mimeType = mimeType;
+ this.offlineCached = offlineCached;
+ }
+
+ public String itemId;
+ public String title;
+ public String link;
+ public String mimeType;
+ public boolean offlineCached;
+
+ public Integer downloadProgress;
+
+ public static Integer DOWNLOAD_COMPLETED = -1;
+ public static Integer DOWNLOAD_NOT_STARTED = -2;
+}