128 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			128 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| package com.bottle.hp.album.media;
 | |
| 
 | |
| import java.io.Serializable;
 | |
| 
 | |
| /* loaded from: classes.dex */
 | |
| public class HPMedia implements Serializable {
 | |
|     public static final int MEDIA_TYPE_AUDIO = 2;
 | |
|     public static final int MEDIA_TYPE_IMAGE = 0;
 | |
|     public static final int MEDIA_TYPE_NONE = -1;
 | |
|     public static final int MEDIA_TYPE_VIDEO = 1;
 | |
|     protected String displayName;
 | |
|     protected int id;
 | |
|     protected int mediaType;
 | |
|     protected String mimeType;
 | |
|     protected String modifyDate;
 | |
|     protected String path;
 | |
|     protected String preview;
 | |
|     protected boolean selected;
 | |
|     protected long size;
 | |
|     protected String title;
 | |
| 
 | |
|     public HPMedia() {
 | |
|     }
 | |
| 
 | |
|     public String getDisplayName() {
 | |
|         return this.displayName;
 | |
|     }
 | |
| 
 | |
|     public int getId() {
 | |
|         return this.id;
 | |
|     }
 | |
| 
 | |
|     public int getMediaType() {
 | |
|         return this.mediaType;
 | |
|     }
 | |
| 
 | |
|     public String getMimeType() {
 | |
|         return this.mimeType;
 | |
|     }
 | |
| 
 | |
|     public String getModifyDate() {
 | |
|         return this.modifyDate;
 | |
|     }
 | |
| 
 | |
|     public String getPath() {
 | |
|         return this.path;
 | |
|     }
 | |
| 
 | |
|     public String getPreview() {
 | |
|         return this.preview;
 | |
|     }
 | |
| 
 | |
|     public long getSize() {
 | |
|         return this.size;
 | |
|     }
 | |
| 
 | |
|     public String getTitle() {
 | |
|         return this.title;
 | |
|     }
 | |
| 
 | |
|     public boolean isSelected() {
 | |
|         return this.selected;
 | |
|     }
 | |
| 
 | |
|     public boolean isVideo() {
 | |
|         return this.mediaType == 1;
 | |
|     }
 | |
| 
 | |
|     public void setDisplayName(String str) {
 | |
|         this.displayName = str;
 | |
|     }
 | |
| 
 | |
|     public void setId(int i) {
 | |
|         this.id = i;
 | |
|     }
 | |
| 
 | |
|     public void setMediaType(int i) {
 | |
|         this.mediaType = i;
 | |
|     }
 | |
| 
 | |
|     public void setMimeType(String str) {
 | |
|         this.mimeType = str;
 | |
|     }
 | |
| 
 | |
|     public void setModifyDate(String str) {
 | |
|         this.modifyDate = str;
 | |
|     }
 | |
| 
 | |
|     public void setPath(String str) {
 | |
|         this.path = str;
 | |
|     }
 | |
| 
 | |
|     public void setPreview(String str) {
 | |
|         this.preview = str;
 | |
|     }
 | |
| 
 | |
|     public void setSelected(boolean z) {
 | |
|         this.selected = z;
 | |
|     }
 | |
| 
 | |
|     public void setSize(long j) {
 | |
|         this.size = j;
 | |
|     }
 | |
| 
 | |
|     public void setTitle(String str) {
 | |
|         this.title = str;
 | |
|     }
 | |
| 
 | |
|     public String toString() {
 | |
|         return "HPMedia{id=" + this.id + ", title='" + this.title + "', displayName='" + this.displayName + "', mimeType='" + this.mimeType + "', path='" + this.path + "', size=" + this.size + ", modifyDate='" + this.modifyDate + "', preview='" + this.preview + "', selected=" + this.selected + ", mediaType=" + this.mediaType + '}';
 | |
|     }
 | |
| 
 | |
|     public HPMedia(int i) {
 | |
|         this.id = i;
 | |
|     }
 | |
| 
 | |
|     public HPMedia(int i, String str, String str2, String str3, String str4, long j, String str5, String str6) {
 | |
|         this.id = i;
 | |
|         this.title = str;
 | |
|         this.displayName = str2;
 | |
|         this.mimeType = str3;
 | |
|         this.path = str4;
 | |
|         this.size = j;
 | |
|         this.preview = str5;
 | |
|         this.modifyDate = str6;
 | |
|     }
 | |
| }
 |