blob: adeeb50fa6d2673a3004974fb4acc93cd6e31806 [file] [log] [blame]
package com.android.gallery3d.ext;
/**
* Controller overlay extension interface.
*/
public interface IContrllerOverlayExt {
/**
* Show buffering state.
* @param what
*/
void showBuffering(int what);
/**
* 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();
}