Class InputFrameRecorder
- Namespace
- easyar
Eingabeframe-Recorder. Hat einen Eingabeframe-Eingabeport und einen Eingabeframe-Ausgabeport und wird verwendet, um durchlaufende Eingabeframes in einer EIF-Datei zu speichern. Alle Member dieser Klasse sind threadsicher.
InputFrameRecorder
Methoden
input
Eingabeport.
void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| InputFrameSink |
bufferRequirement
Anzahl der vom aktuellen Komponent belegten camera buffer.
int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| Int32 |
output
Ausgabeport.
void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * 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()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| InputFrameSource |
create
Erstellt.
void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)
static std::shared_ptr<InputFrameRecorder> create()
public static @Nonnull InputFrameRecorder create()
companion object fun create(): InputFrameRecorder
+ (easyar_InputFrameRecorder *)create
public static func create() -> InputFrameRecorder
public static InputFrameRecorder create()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| InputFrameRecorder |
start
Startet die Datenaufzeichnung. initialScreenRotation ist die anfängliche Bildschirmrotationsrichtung beim Aufzeichnen von Daten. Bei der Wiedergabe verwendet das Rendering diese Richtung als Referenz. Die Definition der Rotationsrichtung entspricht CameraParameters.
bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath, int initialScreenRotation)
bool start(std::string filePath, int initialScreenRotation)
public boolean start(java.lang.@Nonnull String filePath, int initialScreenRotation)
fun start(filePath: String, initialScreenRotation: Int): Boolean
- (bool)start:(NSString *)filePath initialScreenRotation:(int)initialScreenRotation
public func start(_ filePath: String, _ initialScreenRotation: Int32) -> Bool
public virtual bool start(string filePath, int initialScreenRotation)
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| filePath | String | |
| initialScreenRotation | Int32 |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| Boolean |
stop
Stoppt die Datenaufzeichnung. Diese Methode stoppt nur die Aufzeichnung; Verbindungen sind nicht betroffen.
void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| Void |