Skip to main content
Version: 20 Mar 2024

MLMediaRecorderOnError

When the error or info type is track specific, it has the following layout: The left-most 16-bit is meant for error or info type and the right-most 4-bit is meant for track id.

Public Methods

MLMediaRecorderOnError Create

Create and return an initialized version of this struct.

public static MLMediaRecorderOnError Create()

Returns: A new instance of this struct.


Public Attributes

Data

User data as passed to MLMediaRecorderSetEventCallbacks.


public IntPtr Data;


Error

The error of MLMediaRecorderError


public Error Error;

TypeDescription
ErrorVideo recorder error types

Extra

The extra info


public int Extra;


TrackId

Holds valid track id only for track specific info (returned via on_track_info callback.). Holds 0 for the generic info (returned via on_info callback).


public uint TrackId;