Table of Contents

Class VideoInputFramePlayer

네임스페이스
easyar

입력 프레임 플레이어. EIF MKV 파일로부터 입력 프레임을 가져오기 위한 입력 프레임 출력 포트가 있습니다. 이 클래스의 모든 멤버는 스레드 안전합니다.

VideoInputFramePlayer

메서드

isAvailable

사용 가능한지 확인합니다. Windows에서만 true를 반환합니다.

bool easyar_VideoInputFramePlayer_isAvailable(void)
static bool isAvailable()
public static boolean isAvailable()
companion object fun isAvailable(): Boolean
+ (bool)isAvailable
public static func isAvailable() -> Bool
public static bool isAvailable()

반환 값

형식 설명
Boolean

output

출력 포트.

void easyar_VideoInputFramePlayer_output(easyar_VideoInputFramePlayer * 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

accelerometerResultSource

가속도계 결과 출력 포트. AccelerometerResultSource 를 참조하십시오.

void easyar_VideoInputFramePlayer_accelerometerResultSource(easyar_VideoInputFramePlayer * This, easyar_AccelerometerResultSource * * Return)
std::shared_ptr<AccelerometerResultSource> accelerometerResultSource()
public @Nonnull AccelerometerResultSource accelerometerResultSource()
fun accelerometerResultSource(): AccelerometerResultSource
- (easyar_AccelerometerResultSource *)accelerometerResultSource
public func accelerometerResultSource() -> AccelerometerResultSource
public virtual AccelerometerResultSource accelerometerResultSource()

반환 값

형식 설명
AccelerometerResultSource

gyroscopeResultSource

자이로스코프 결과 출력 포트. GyroscopeResultSource 를 참조하십시오.

void easyar_VideoInputFramePlayer_gyroscopeResultSource(easyar_VideoInputFramePlayer * This, easyar_GyroscopeResultSource * * Return)
std::shared_ptr<GyroscopeResultSource> gyroscopeResultSource()
public @Nonnull GyroscopeResultSource gyroscopeResultSource()
fun gyroscopeResultSource(): GyroscopeResultSource
- (easyar_GyroscopeResultSource *)gyroscopeResultSource
public func gyroscopeResultSource() -> GyroscopeResultSource
public virtual GyroscopeResultSource gyroscopeResultSource()

반환 값

형식 설명
GyroscopeResultSource

attitudeSensorResultSource

자세 센서 결과 출력 포트. AttitudeSensorResultSource 참조.

void easyar_VideoInputFramePlayer_attitudeSensorResultSource(easyar_VideoInputFramePlayer * This, easyar_AttitudeSensorResultSource * * Return)
std::shared_ptr<AttitudeSensorResultSource> attitudeSensorResultSource()
public @Nonnull AttitudeSensorResultSource attitudeSensorResultSource()
fun attitudeSensorResultSource(): AttitudeSensorResultSource
- (easyar_AttitudeSensorResultSource *)attitudeSensorResultSource
public func attitudeSensorResultSource() -> AttitudeSensorResultSource
public virtual AttitudeSensorResultSource attitudeSensorResultSource()

반환 값

형식 설명
AttitudeSensorResultSource

magnetometerResultSource

자력계 결과 출력 포트. MagnetometerResultSource를 참조하십시오.

void easyar_VideoInputFramePlayer_magnetometerResultSource(easyar_VideoInputFramePlayer * This, easyar_MagnetometerResultSource * * Return)
std::shared_ptr<MagnetometerResultSource> magnetometerResultSource()
public @Nonnull MagnetometerResultSource magnetometerResultSource()
fun magnetometerResultSource(): MagnetometerResultSource
- (easyar_MagnetometerResultSource *)magnetometerResultSource
public func magnetometerResultSource() -> MagnetometerResultSource
public virtual MagnetometerResultSource magnetometerResultSource()

반환 값

형식 설명
MagnetometerResultSource

locationResultSource

위치 결과 출력 포트. 참조 LocationResultSource.

void easyar_VideoInputFramePlayer_locationResultSource(easyar_VideoInputFramePlayer * This, easyar_LocationResultSource * * Return)
std::shared_ptr<LocationResultSource> locationResultSource()
public @Nonnull LocationResultSource locationResultSource()
fun locationResultSource(): LocationResultSource
- (easyar_LocationResultSource *)locationResultSource
public func locationResultSource() -> LocationResultSource
public virtual LocationResultSource locationResultSource()

반환 값

형식 설명
LocationResultSource

proximityLocationResultSource

근처 위치 결과 출력 포트. ProximityLocationResultSource 참조.

void easyar_VideoInputFramePlayer_proximityLocationResultSource(easyar_VideoInputFramePlayer * This, easyar_ProximityLocationResultSource * * Return)
std::shared_ptr<ProximityLocationResultSource> proximityLocationResultSource()
public @Nonnull ProximityLocationResultSource proximityLocationResultSource()
fun proximityLocationResultSource(): ProximityLocationResultSource
- (easyar_ProximityLocationResultSource *)proximityLocationResultSource
public func proximityLocationResultSource() -> ProximityLocationResultSource
public virtual ProximityLocationResultSource proximityLocationResultSource()

반환 값

형식 설명
ProximityLocationResultSource

create

생성.

void easyar_VideoInputFramePlayer_create(easyar_VideoInputFramePlayer * * Return)
static std::shared_ptr<VideoInputFramePlayer> create()
public static @Nonnull VideoInputFramePlayer create()
companion object fun create(): VideoInputFramePlayer
+ (easyar_VideoInputFramePlayer *)create
public static func create() -> VideoInputFramePlayer
public static VideoInputFramePlayer create()

반환 값

형식 설명
VideoInputFramePlayer

start

재생 시작.

bool easyar_VideoInputFramePlayer_start(easyar_VideoInputFramePlayer * 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_VideoInputFramePlayer_stop(easyar_VideoInputFramePlayer * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()

반환 값

형식 설명
Void

pause

일시 정지

void easyar_VideoInputFramePlayer_pause(easyar_VideoInputFramePlayer * This)
void pause()
public void pause()
fun pause(): Unit
- (void)pause
public func pause() -> Void
public virtual void pause()

반환 값

형식 설명
Void

resume

계속 재생합니다.

bool easyar_VideoInputFramePlayer_resume(easyar_VideoInputFramePlayer * This)
bool resume()
public boolean resume()
fun resume(): Boolean
- (bool)resume
public func resume() -> Bool
public virtual bool resume()

반환 값

형식 설명
Boolean

totalTime

예상 총 재생 시간. 단위는 초. 녹화 과정이 비정상적으로 중단된 경우 없을 수 있음.

easyar_OptionalOfDouble easyar_VideoInputFramePlayer_totalTime(easyar_VideoInputFramePlayer * This)
std::optional<double> totalTime()
public java.lang.@Nullable Double totalTime()
fun totalTime(): Double?
- (NSNumber *)totalTime
public func totalTime() -> Double?
public virtual Optional<double> totalTime()

반환 값

형식 설명
Optional<Double>

currentTime

현재 재생 시점. 단위는 초(second). 초기값은 0.

double easyar_VideoInputFramePlayer_currentTime(easyar_VideoInputFramePlayer * This)
double currentTime()
public double currentTime()
fun currentTime(): Double
- (double)currentTime
public func currentTime() -> Double
public virtual double currentTime()

반환 값

형식 설명
Double

isSeekable

현재 재생 시점을 찾을 수 있는지 여부. 녹화 과정이 비정상적으로 중단될 경우 인덱스 데이터가 누락되어 현재 재생 시간을 설정할 수 없게 될 수 있습니다.

bool easyar_VideoInputFramePlayer_isSeekable(const easyar_VideoInputFramePlayer * This)
bool isSeekable()
public boolean isSeekable()
fun isSeekable(): Boolean
- (bool)isSeekable
public func isSeekable() -> Bool
public virtual bool isSeekable()

반환 값

형식 설명
Boolean

seek

현재 재생 시점을 설정합니다. 단위는 초입니다. 인덱스 데이터가 없을 경우 false를 반환합니다.

bool easyar_VideoInputFramePlayer_seek(easyar_VideoInputFramePlayer * This, double time)
bool seek(double time)
public boolean seek(double time)
fun seek(time: Double): Boolean
- (bool)seek:(double)time
public func seek(_ time: Double) -> Bool
public virtual bool seek(double time)

매개 변수

이름 형식 설명
time Double

반환 값

형식 설명
Boolean

speed

현재 재생 속도. 초기값은 1입니다.

double easyar_VideoInputFramePlayer_speed(const easyar_VideoInputFramePlayer * This)
double speed()
public double speed()
fun speed(): Double
- (double)speed
public func speed() -> Double
public virtual double speed()

반환 값

형식 설명
Double

setSpeed

현재 재생 속도 설정

void easyar_VideoInputFramePlayer_setSpeed(easyar_VideoInputFramePlayer * This, double _value)
void setSpeed(double _value)
public void setSpeed(double value)
fun setSpeed(value: Double): Unit
- (void)setSpeed:(double)_value
public func setSpeed(_ value: Double) -> Void
public virtual void setSpeed(double @value)

매개 변수

이름 형식 설명
value Double

반환 값

형식 설명
Void

initalScreenRotation

데이터 기록 시 초기 화면 회전 방향.

int easyar_VideoInputFramePlayer_initalScreenRotation(easyar_VideoInputFramePlayer * This)
int initalScreenRotation()
public int initalScreenRotation()
fun initalScreenRotation(): Int
- (int)initalScreenRotation
public func initalScreenRotation() -> Int32
public virtual int initalScreenRotation()

반환 값

형식 설명
Int32

metadata

기록 데이터의 메타데이터

void easyar_VideoInputFramePlayer_metadata(easyar_VideoInputFramePlayer * This, easyar_String * * Return)
std::string metadata()
public java.lang.@Nonnull String metadata()
fun metadata(): String
- (NSString *)metadata
public func metadata() -> String
public virtual string metadata()

반환 값

형식 설명
String

isCompleted

완료 여부 가져오기

bool easyar_VideoInputFramePlayer_isCompleted(easyar_VideoInputFramePlayer * This)
bool isCompleted()
public boolean isCompleted()
fun isCompleted(): Boolean
- (bool)isCompleted
public func isCompleted() -> Bool
public virtual bool isCompleted()

반환 값

형식 설명
Boolean