Class VideoInputFramePlayer
Player de frames de entrada.
Tem uma porta de saída de frames de entrada, usada para extrair frames de entrada de arquivos EIF MKV.
Todos os membros desta classe são seguros para threads.
VideoInputFramePlayer
Métodos
Verificar se está disponível. Retorna true apenas no Windows.
bool easyar_VideoInputFramePlayer_isAvailable(void)
static bool isAvailable()
public static boolean isAvailable()
companion object fun isAvailable(): Boolean
public static func isAvailable() -> Bool
public static bool isAvailable()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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()
Retorna
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)
Parâmetros
| Nome |
Tipo |
Descrição |
| filePath |
String |
|
Retorna
void easyar_VideoInputFramePlayer_stop(easyar_VideoInputFramePlayer * This)
public func stop() -> Void
public virtual void stop()
Retorna
void easyar_VideoInputFramePlayer_pause(easyar_VideoInputFramePlayer * This)
public func pause() -> Void
public virtual void pause()
Retorna
bool easyar_VideoInputFramePlayer_resume(easyar_VideoInputFramePlayer * This)
public func resume() -> Bool
public virtual bool resume()
Retorna
Tempo total de reprodução esperado. Unidade em segundos. Pode estar ausente se a gravação for interrompida anormalmente.
easyar_OptionalOfDouble easyar_VideoInputFramePlayer_totalTime(easyar_VideoInputFramePlayer * This)
std::optional<double> totalTime()
public java.lang.@Nullable Double totalTime()
public func totalTime() -> Double?
public virtual Optional<double> totalTime()
Retorna
| Tipo |
Descrição |
| Optional<Double> |
|
Momento atual de reprodução. Unidade em segundos. Inicialmente 0.
double easyar_VideoInputFramePlayer_currentTime(easyar_VideoInputFramePlayer * This)
public double currentTime()
fun currentTime(): Double
public func currentTime() -> Double
public virtual double currentTime()
Retorna
Se é possível localizar o momento atual de reprodução. Se a gravação for interrompida anormalmente, pode levar à falta de dados de índice, impossibilitando a definição do tempo atual de reprodução.
bool easyar_VideoInputFramePlayer_isSeekable(const easyar_VideoInputFramePlayer * This)
public boolean isSeekable()
fun isSeekable(): Boolean
public func isSeekable() -> Bool
public virtual bool isSeekable()
Retorna
Definir o momento atual de reprodução. Unidade em segundos. Retorna false se faltarem dados de índice.
bool easyar_VideoInputFramePlayer_seek(easyar_VideoInputFramePlayer * This, 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)
Parâmetros
| Nome |
Tipo |
Descrição |
| time |
Double |
|
Retorna
Velocidade atual de reprodução. Inicialmente 1.
double easyar_VideoInputFramePlayer_speed(const easyar_VideoInputFramePlayer * This)
public func speed() -> Double
public virtual double speed()
Retorna
Definir a velocidade atual de reprodução.
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)
Parâmetros
| Nome |
Tipo |
Descrição |
| value |
Double |
|
Retorna
Direção inicial de rotação da tela ao gravar dados.
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()
Retorna
Metadados ao gravar dados.
void easyar_VideoInputFramePlayer_metadata(easyar_VideoInputFramePlayer * This, easyar_String * * Return)
public java.lang.@Nonnull String metadata()
public func metadata() -> String
public virtual string metadata()
Retorna
bool easyar_VideoInputFramePlayer_isCompleted(easyar_VideoInputFramePlayer * This)
public boolean isCompleted()
fun isCompleted(): Boolean
public func isCompleted() -> Bool
public virtual bool isCompleted()
Retorna