User-supplied interface that receives notifications. The ILMDmxSubtitleCallback interface is assigned to the ILMDmxSubtitle.Callback property.
For an overview of implementing this interface, refer to Displaying Subtitles.
Lists the possible cue events.
|LMSubtitle_Cue_Event_Active||Indicates that the specified cue should be displayed.|
|LMSubtitle_Cue_Event_Inactive||Indicates that the specified cue should be hidden.|
|LMSubtitle_Cue_Event_Clear||Indicates that all cues should be hidden. The currenttime and cue callback parameters are not valid during this event.|
|cueevent||An LMSubtitle_Cue_Event enumeration value that indicates which type of event has occurred.|
|currenttime||A double value that contains the time, in seconds, when the event occurred.|
|cue||An ILMSubtitleCue interface pointer that represents the cue.|
Called when a cue event occurs in a text track.
Care must be taken when accessing the parameters of this method. If cueevent is LMSubtitle_Cue_Event_Clear, then currenttime is 0 and cue is null.
S_OK if successful; < 0 if an error occurred.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries