package de.beyondsoft.ownchat.filepicker;

/**
 * Created by Lyndon on 26-Oct-2017.
 */

public class FilePickerConst {
    public static final int REQUEST_CODE_PHOTO = 233;
    public static final int REQUEST_CODE_DOC = 234;

    public static final int REQUEST_CODE_MEDIA_DETAIL = 235;

    final static int DEFAULT_MAX_COUNT        = 9;
    public final static int DEFAULT_COLUMN_NUMBER    = 3;

    public final static int MEDIA_PICKER = 0x11;
    public final static int DOC_PICKER    = 0x12;

    public final static String KEY_SELECTED_MEDIA = "SELECTED_PHOTOS";
    public final static String KEY_SELECTED_DOCS  = "SELECTED_DOCS";

    public final static String EXTRA_PICKER_TYPE     = "EXTRA_PICKER_TYPE";
    public final static String EXTRA_SHOW_GIF        = "SHOW_GIF";
    public final static String EXTRA_FILE_TYPE        = "EXTRA_FILE_TYPE";
    public final static String EXTRA_BUCKET_ID        = "EXTRA_BUCKET_ID";
    public final static String ALL_PHOTOS_BUCKET_ID        = "ALL_PHOTOS_BUCKET_ID";
    public final static String PPT_MIME_TYPE = "application/mspowerpoint";

    public final static int FILE_TYPE_MEDIA = 1;
    public final static int FILE_TYPE_DOCUMENT = 2;

    public final static int MEDIA_TYPE_IMAGE=1;
    public final static int MEDIA_TYPE_VIDEO=3;

    public enum FILE_TYPE {
        PDF,
        WORD,
        EXCEL,
        PPT,
        TXT,
        UNKNOWN
    }

    final static String PDF = "PDF";
    final static String PPT = "PPT";
    final static String DOC = "DOC";
    final static String XLS = "XLS";
    final static String TXT = "TXT";
    final static String ODS = "ODS";
}
