Class InputFrameRecorder
- 네임스페이스
- easyar
입력 프레임 레코더입니다. 입력 프레임 입력 포트와 입력 프레임 출력 포트가 있으며, 지나가는 입력 프레임을 EIF 파일에 저장하는 데 사용됩니다. 이 클래스의 모든 멤버는 스레드로부터 안전합니다.
InputFrameRecorder
메서드
input
입력 포트입니다.
void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameSink |
bufferRequirement
현재 컴포넌트가 점유하는 camera buffer 개수입니다.
int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()
반환 값
| 형식 | 설명 |
|---|---|
| Int32 |
output
출력 포트입니다.
void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * This, easyar_InputFrameSource * * Return)
std::shared_ptr<InputFrameSource> output()
public @Nonnull InputFrameSource output()
fun output(): InputFrameSource
- (easyar_InputFrameSource *)output
public func output() -> InputFrameSource
public virtual InputFrameSource output()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameSource |
create
생성합니다.
void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)
static std::shared_ptr<InputFrameRecorder> create()
public static @Nonnull InputFrameRecorder create()
companion object fun create(): InputFrameRecorder
+ (easyar_InputFrameRecorder *)create
public static func create() -> InputFrameRecorder
public static InputFrameRecorder create()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameRecorder |
start
데이터 녹화를 시작합니다. initialScreenRotation은 데이터 녹화 시 초기 화면 회전 방향이며, 재생 시 이 방향을 기준으로 렌더링합니다. 회전 방향의 정의는 CameraParameters의 정의와 같습니다.
bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath, int initialScreenRotation)
bool start(std::string filePath, int initialScreenRotation)
public boolean start(java.lang.@Nonnull String filePath, int initialScreenRotation)
fun start(filePath: String, initialScreenRotation: Int): Boolean
- (bool)start:(NSString *)filePath initialScreenRotation:(int)initialScreenRotation
public func start(_ filePath: String, _ initialScreenRotation: Int32) -> Bool
public virtual bool start(string filePath, int initialScreenRotation)
매개 변수
| 이름 | 형식 | 설명 |
|---|---|---|
| filePath | String | |
| initialScreenRotation | Int32 |
반환 값
| 형식 | 설명 |
|---|---|
| Boolean |
stop
데이터 녹화를 중지합니다. 이 메서드는 녹화만 중지하며 연결에는 영향을 주지 않습니다.
void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()
반환 값
| 형식 | 설명 |
|---|---|
| Void |