Class InputFramePlayer
- 네임스페이스
- easyar
입력 프레임 플레이어. EIF 파일로부터 입력 프레임을 가져오기 위한 입력 프레임 출력 포트가 있습니다. 이 클래스의 모든 멤버는 스레드 안전합니다.
InputFramePlayer
메서드
output
출력 포트.
void easyar_InputFramePlayer_output(easyar_InputFramePlayer * 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_InputFramePlayer_create(easyar_InputFramePlayer * * Return)
static std::shared_ptr<InputFramePlayer> create()
public static @Nonnull InputFramePlayer create()
companion object fun create(): InputFramePlayer
+ (easyar_InputFramePlayer *)create
public static func create() -> InputFramePlayer
public static InputFramePlayer create()
반환 값
| 형식 | 설명 |
|---|---|
| InputFramePlayer |
start
재생 시작.
bool easyar_InputFramePlayer_start(easyar_InputFramePlayer * This, easyar_String * filePath)
bool start(std::string filePath)
public boolean start(java.lang.@Nonnull String filePath)
fun start(filePath: String): Boolean
- (bool)start:(NSString *)filePath
public func start(_ filePath: String) -> Bool
public virtual bool start(string filePath)
매개 변수
| 이름 | 형식 | 설명 |
|---|---|---|
| filePath | String |
반환 값
| 형식 | 설명 |
|---|---|
| Boolean |
stop
재생 중지.
void easyar_InputFramePlayer_stop(easyar_InputFramePlayer * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()
반환 값
| 형식 | 설명 |
|---|---|
| Void |
pause
일시 정지
void easyar_InputFramePlayer_pause(easyar_InputFramePlayer * This)
void pause()
public void pause()
fun pause(): Unit
- (void)pause
public func pause() -> Void
public virtual void pause()
반환 값
| 형식 | 설명 |
|---|---|
| Void |
resume
계속 재생합니다.
bool easyar_InputFramePlayer_resume(easyar_InputFramePlayer * This)
bool resume()
public boolean resume()
fun resume(): Boolean
- (bool)resume
public func resume() -> Bool
public virtual bool resume()
반환 값
| 형식 | 설명 |
|---|---|
| Boolean |
totalTime
예상 총 재생 시간. 단위는 초(seconds).
double easyar_InputFramePlayer_totalTime(easyar_InputFramePlayer * This)
double totalTime()
public double totalTime()
fun totalTime(): Double
- (double)totalTime
public func totalTime() -> Double
public virtual double totalTime()
반환 값
| 형식 | 설명 |
|---|---|
| Double |
currentTime
현재 재생 시점. 단위는 초(second). 초기값은 0.
double easyar_InputFramePlayer_currentTime(easyar_InputFramePlayer * This)
double currentTime()
public double currentTime()
fun currentTime(): Double
- (double)currentTime
public func currentTime() -> Double
public virtual double currentTime()
반환 값
| 형식 | 설명 |
|---|---|
| Double |
initalScreenRotation
데이터 기록 시 초기 화면 회전 방향.
int easyar_InputFramePlayer_initalScreenRotation(easyar_InputFramePlayer * This)
int initalScreenRotation()
public int initalScreenRotation()
fun initalScreenRotation(): Int
- (int)initalScreenRotation
public func initalScreenRotation() -> Int32
public virtual int initalScreenRotation()
반환 값
| 형식 | 설명 |
|---|---|
| Int32 |
isCompleted
완료 여부 가져오기
bool easyar_InputFramePlayer_isCompleted(easyar_InputFramePlayer * This)
bool isCompleted()
public boolean isCompleted()
fun isCompleted(): Boolean
- (bool)isCompleted
public func isCompleted() -> Bool
public virtual bool isCompleted()
반환 값
| 형식 | 설명 |
|---|---|
| Boolean |