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

現在の再生位置(秒単位)。初期値は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