Skip to main content
Version: 21 Aug 2024

MLMediaRecorderOnInfo

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

MLMediaRecorderOnInfo Create

Create and return an initialized version of this struct.

public static MLMediaRecorderOnInfo Create()

Returns: A new instance of this struct.


Public Attributes

Data

User data as passed to MLMediaRecorderSetEventCallbacks.


public IntPtr Data;


Extra

The extra info


public int Extra;


Info

The info of MLMediaRecorderInfo


public Info Info;


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;