public class EatGameManager extends java.lang.Object implements IEatGameControl, com.ksy.recordlib.service.glrecoder.CameraEncoder2.FaceDetectListener
IEatGameControl.OnEatGameListener| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String[] |
SOUND_RES_ARR |
STATUS_NO_STARTED, STATUS_RELEASED, STATUS_STARTED, STATUS_UNINITIALIZED| 构造器和说明 |
|---|
EatGameManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abortGame() |
void |
addReceivedFood(FoodEntity.FoodBean foodBean) |
int |
getCurrentScore() |
void |
init(com.app.live.activity.VideoDataInfo videoDataInfo,
RoundEnv env,
com.ksy.recordlib.service.core.KsyRecordClient recordClient,
RenderDispatchImpl renderDispatchImpl,
boolean isMirror) |
boolean |
isPlaying() |
void |
onFaceDataAvailable(android.graphics.RectF faceRect,
android.graphics.PointF[] keyPoints) |
void |
onFaceNotTracked() |
void |
release() |
void |
saveVideoToMovieDir(boolean save) |
void |
setOnEatGameListener(IEatGameControl.OnEatGameListener listener) |
void |
startGame() |
void |
uploadVideo() |
public void setOnEatGameListener(IEatGameControl.OnEatGameListener listener)
public void init(@NonNull
com.app.live.activity.VideoDataInfo videoDataInfo,
@NonNull
RoundEnv env,
@NonNull
com.ksy.recordlib.service.core.KsyRecordClient recordClient,
@NonNull
RenderDispatchImpl renderDispatchImpl,
boolean isMirror)
init 在接口中 IEatGameControlpublic void startGame()
startGame 在接口中 IEatGameControlpublic void abortGame()
abortGame 在接口中 IEatGameControlpublic void addReceivedFood(FoodEntity.FoodBean foodBean) throws java.lang.IllegalStateException
addReceivedFood 在接口中 IEatGameControljava.lang.IllegalStateExceptionpublic void release()
release 在接口中 IEatGameControlpublic void uploadVideo()
uploadVideo 在接口中 IEatGameControlpublic void saveVideoToMovieDir(boolean save)
saveVideoToMovieDir 在接口中 IEatGameControlpublic int getCurrentScore()
getCurrentScore 在接口中 IEatGameControlpublic boolean isPlaying()
isPlaying 在接口中 IEatGameControlpublic void onFaceDataAvailable(android.graphics.RectF faceRect,
android.graphics.PointF[] keyPoints)
onFaceDataAvailable 在接口中 com.ksy.recordlib.service.glrecoder.CameraEncoder2.FaceDetectListenerpublic void onFaceNotTracked()
onFaceNotTracked 在接口中 com.ksy.recordlib.service.glrecoder.CameraEncoder2.FaceDetectListener