ICinemaControl.aidl
1.15 KB
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
// ICinemaControl.aidl
package com.xgimi.gimicinema;
// Declare any non-default types here with import statements
interface ICinemaControl {
/**
* Demonstrates some basic types that you can use as parameters
* and return values in AIDL.
*/
void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
double aDouble, String aString);
//设置当前播放电影总时长.
void setMovieDuration(long duration);
// 获取当前播放电影总时长.
long getMovieDuration();
//设置当前播放电影进度.
void setCurrentMoviePosition(long duration);
//获取当前播放电影进度.
long getCurrentMoviePosition();
int getCurrentStatus();
void setCurrentStatus(int state);
// 添加新的播放路径到播放列表.
void addPlayPath(String path);
//设置当前播放电影.if null 播放器没有播放电影
void setCurrentPlayPath(String path);
//获取当前播放路径,可以从中获取电影名
String getCurrentPath();
List<String> getPlayList();
void setPlayList(in List<String> movies);
void openLight();
void closeLight();
}