That fuck shit the fascists are using
at master 49 lines 1.1 kB view raw
1package org.tm.archive.mediasend; 2 3import android.net.Uri; 4 5import androidx.annotation.NonNull; 6 7/** 8 * Represents a folder that's shown in {@link MediaPickerFolderFragment}. 9 */ 10public class MediaFolder { 11 12 private final Uri thumbnailUri; 13 private final String title; 14 private final int itemCount; 15 private final String bucketId; 16 private final FolderType folderType; 17 18 MediaFolder(@NonNull Uri thumbnailUri, @NonNull String title, int itemCount, @NonNull String bucketId, @NonNull FolderType folderType) { 19 this.thumbnailUri = thumbnailUri; 20 this.title = title; 21 this.itemCount = itemCount; 22 this.bucketId = bucketId; 23 this.folderType = folderType; 24 } 25 26 public Uri getThumbnailUri() { 27 return thumbnailUri; 28 } 29 30 public String getTitle() { 31 return title; 32 } 33 34 public int getItemCount() { 35 return itemCount; 36 } 37 38 public String getBucketId() { 39 return bucketId; 40 } 41 42 public FolderType getFolderType() { 43 return folderType; 44 } 45 46 enum FolderType { 47 NORMAL, CAMERA 48 } 49}