blob: db4c713470bf52d26ec6845a3110d8dfaedcf61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
package org.codeaurora.gallery3d.ext;
import android.content.Context;
import android.content.Intent;
public interface IMovieListLoader {
/**
* Load all video list or not.[boolean]
* "yes" means load all videos in all storages.
* "false" means load videos located in current video's folder.
*/
String EXTRA_ALL_VIDEO_FOLDER = "org.codeaurora.intent.extra.ALL_VIDEO_FOLDER";
/**
* Video list order by column name.[String]
*/
String EXTRA_ORDERBY = "org.codeaurora.intent.extra.VIDEO_LIST_ORDERBY";
/**
* Enable video list or not.[boolean]
*/
String EXTRA_ENABLE_VIDEO_LIST = "org.codeaurora.intent.extra.ENABLE_VIDEO_LIST";
/**
* Loader listener interface
*/
public interface LoaderListener {
/**
* Will be called after movie list loaded.
* @param movieList
*/
void onListLoaded(IMovieList movieList);
}
/**
* Build the movie list from current item.
* @param context
* @param intent
* @param l
* @param item
*/
void fillVideoList(Context context, Intent intent, LoaderListener l, IMovieItem item);
/**
* enable video list or not.
* @param intent
* @return
*/
boolean isEnabledVideoList(Intent intent);
/**
* Cancel current loading process.
*/
void cancelList();
}
|