blob: da50cdffc975e3c2657df11032ebe74ac5e0c9df (
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
51
|
package org.codeaurora.gallery3d.ext;
/**
* Controller overlay extension interface.
*/
public interface IContrllerOverlayExt {
/**
* Show buffering state.
* @param fullBuffer
* @param percent
*/
void showBuffering(boolean fullBuffer, int percent);
/**
* Clear buffering state.
*/
void clearBuffering();
/**
* Show re-connecting state.
* @param times
*/
void showReconnecting(int times);
/**
* Show re-connecting error for connecting fail error.
*/
void showReconnectingError();
/**
* Show playing info or not.
* @param liveStreaming true means showing playing info, otherwise doesn't show playing info.
*/
void setPlayingInfo(boolean liveStreaming);
/**
* Indicates whether current video can be paused or not.
* @param canPause
*/
void setCanPause(boolean canPause);
/**
* Indicates whether thumb can be scrubbed or not.
* @param enable
*/
void setCanScrubbing(boolean enable);
/**
* Always show bottmon panel or not.
* @param alwaysShow
* @param foreShow
*/
void setBottomPanel(boolean alwaysShow, boolean foreShow);
/**
* Is playing end or not.
* @return
*/
boolean isPlayingEnd();
}
|