public interface IRendererHolder extends IRendererCommon
MIRROR_BOTH, MIRROR_HORIZONTAL, MIRROR_NORMAL, MIRROR_NUM, MIRROR_VERTICAL| Modifier and Type | Method and Description |
|---|---|
void |
addSurface(int id,
java.lang.Object surface,
boolean isRecordable)
分配描画用のSurfaceを追加
|
void |
addSurface(int id,
java.lang.Object surface,
boolean isRecordable,
int maxFps)
分配描画用のSurfaceを追加
|
void |
captureStill(java.lang.String path)
静止画を撮影する
撮影完了を待機する
|
void |
captureStillAsync(java.lang.String path)
静止画を撮影する
撮影完了を待機しない
|
int |
getCount()
追加されている分配描画用のSurfaceの数を取得
|
android.view.Surface |
getSurface()
マスター用の映像を受け取るためのSurfaceを取得
|
android.graphics.SurfaceTexture |
getSurfaceTexture()
マスター用の映像を受け取るためのSurfaceTextureを取得
|
boolean |
isRunning()
実行中かどうか
|
void |
release()
関係するすべてのリソースを開放する。
|
void |
removeSurface(int id)
分配描画用のSurfaceを削除
|
void |
requestFrame()
強制的に現在の最新のフレームを描画要求する
分配描画用Surface全てが更新されるので注意
|
void |
reset()
マスター用の映像を受け取るためのマスターをチェックして無効なら再生成要求する
|
void |
resize(int width,
int height)
マスター映像サイズをサイズ変更要求
|
setMirrorboolean isRunning()
void release()
android.view.Surface getSurface()
android.graphics.SurfaceTexture getSurfaceTexture()
void reset()
void resize(int width,
int height)
width - height - void addSurface(int id,
java.lang.Object surface,
boolean isRecordable)
id - 普通は#hashCodeを使うsurface, - should be one of Surface, SurfaceTexture or SurfaceHolderisRecordable - void addSurface(int id,
java.lang.Object surface,
boolean isRecordable,
int maxFps)
id - 普通は#hashCodeを使うsurface, - should be one of Surface, SurfaceTexture or SurfaceHolderisRecordable - maxFps - 0以下なら制限しないvoid removeSurface(int id)
id - void requestFrame()
int getCount()
void captureStillAsync(java.lang.String path)
path - void captureStill(java.lang.String path)
path -