Table of Contents

Class InputFramePlayer

Espace de noms
easyar

Lecteur d’input frame. Possède un port de sortie input frame, utilisé pour récupérer les input frames depuis un fichier EIF. Tous les membres de cette classe sont thread-safe.

InputFramePlayer

Méthodes

output

Port de sortie.

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()

Retours

Type Description
InputFrameSource

create

Crée.

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()

Retours

Type Description
InputFramePlayer

start

Démarre la lecture.

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)

Paramètres

Nom Type Description
filePath String

Retours

Type Description
Boolean

stop

Arrête la lecture.

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()

Retours

Type Description
Void

pause

Met la lecture en 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()

Retours

Type Description
Void

resume

Reprend la lecture.

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()

Retours

Type Description
Boolean

totalTime

Temps total de lecture attendu, en secondes.

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()

Retours

Type Description
Double

currentTime

Temps de lecture actuel, en secondes. Initialement 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()

Retours

Type Description
Double

initalScreenRotation

Direction initiale de rotation de l’écran lors de l’enregistrement des données.

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()

Retours

Type Description
Int32

isCompleted

Obtient si c’est terminé.

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()

Retours

Type Description
Boolean