package com.example.anujsharma.shuffler.utilities;

/**
 * Created by anuj5 on 02-01-2018.
 */

public class Constants {

    public static final int EACH_SONG_LAYOUT_CLICKED = 0;
    public static final int EACH_SONG_MENU_CLICKED = 1;
    public static final int EACH_USER_LAYOUT_CLICKED = 8;
    public static final int EACH_USER_MENU_CLICKED = 9;
    public static final int EACH_SONG_VIEW_LONG_CLICKED = 10;
    public static final int SEE_ALL_SONGS_CLICKED = 14;
    public static final int SEE_ALL_USERS_CLICKED = 15;
    public static final int EACH_PLAYLIST_LAYOUT_CLICKED = 18;
    public static final int EACH_PLAYLIST_MENU_CLICKED = 19;

    public static final int METHOD_GET = 2;
    public static final int METHOD_POST = 3;

    public static final int SEARCH_SONGS_WITH_QUERY = 4;
    public static final int SEARCH_SONG_WITH_ID = 5;
    public static final int SEARCH_USERS_WITH_QUERY = 6;
    public static final int SEARCH_USER_WITH_ID = 7;
    public static final int SEARCH_SONGS_WITH_USER_ID = 8;

    public static final int TYPE_TRACK = 11;
    public static final int TYPE_USER = 12;
    public static final int TYPE_PLAYLIST = 13;
    public static final int TYPE_HISTORY = 25;
    public static final int TYPE_DATA = 26;


    public static final String USER_MODEL_KEY = "user";
    public static final String SONG_MODEL_KEY = "song";
    public static final String SONG_ID_KEY = "song_id";
    public static final String USER_ID_KEY = "user_id";
    public static final String USERS_MODEL_KEY = "users";
    public static final String SONGS_MODEL_KEY = "songs";
    public static final String SONG_POSITION_MODEL_KEY = "song_position";
    public static final String FRAGMENT_HOME = "homeFragment";
    public static final String FRAGMENT_MYPROFILE = "myProfileFragment";
    public static final String FRAGMENT_YOUR_LIBRARY = "yourLibraryFragment";
    public static final String FRAGMENT_USER_PAGE = "userPageFragment";
    public static final String FRAGMENT_SEE_ALL = "seeAllFragment";
    public static final String FRAGMENT_SEARCH = "searchFragment";


    public static final int SEARCH_PLAYLISTS_WITH_QUERY = 16;
    public static final int SEARCH_PLAYLISTS_WITH_ID = 17;
    public static final String TYPE = "type";
    public static final String PLAYLIST_MODEL_KEY = "playlists";
    public static final int SEARCH_SONG_WITH_PLAYLIST_ID = 20;
    public static final int SEE_ALL_PLAYLISTS_CLICKED = 21;
    public static final String CURRENT_PLAYING_SONG_POSITION = "currentPlayingSongPosition";
    public static final int CLEAR_HISTORY_CLICKED = 22;
    public static final int HISTORY_LAYOUT_CLICKED = 23;
    public static final int HISTORY_CROSS_CLICKED = 24;

    public static final int YOUR_LIBRARY_TOP_CONTENT_CLICKED = 32;

    //service constants;
    public static final int MUSIC_PLAYED = 27;
    public static final int MUSIC_PAUSED = 28;
    public static final int MUSIC_STARTED = 29;
    public static final int MUSIC_ENDED = 30;
    public static final int MUSIC_LOADED = 31;
    public static final String IS_PLAYING = "isPlaying";

    public static final String NOTIFICATION_SONG_CHANNEL_ID = "songChannelId";
    public static final int NOTIFICATION_SONG_ID = 1;
    public static final String MEDIA_SESSION_TAG = "smynd_media_session";


    public static final String CLICK_NEXT = "com.example.anujsharma.shuffler.utilities.nextClick";
    public static final String CLICK_PREVIOUS = "com.example.anujsharma.shuffler.utilities.previousClick";
    public static final String CLICK_PLAY_PAUSE = "com.example.anujsharma.shuffler.utilities.playPauseClick";
    public static final String FROM_NOTIFICATION = "fromNotification";

    public static final int SHOW_NO_HISTORY = 32;
    public static final int SHOW_NO_SEARCH_RESULT = 33;
    public static final int SHOW_NO_INTERNET_CONNECTION = 34;
    public static final int SHOW_PROGRESS_BAR = 35;
    public static final int SHOW_RECYCLER_VIEW = 36;


}
