←Select platform

AnnMedia Class

Summary

Defines a media (audio or video) source.

Syntax
C#
VB
Objective-C
C++
Java
public class AnnMedia 
Public Class AnnMedia  
@interface LTAnnMedia : NSObject<NSCoding,NSCopying> 
public class AnnMedia 
public: 
   ref class AnnMedia 

Remarks

The AnnMedia class defines a (audio or video) media source. The design of this object follows HTML 5 video and audio tags. The class contains the following properties:

Property Description
Source1 The URL to the main media file. The LEADTOOLS annotations is designed to work similar to HTML 5 video or audio tag. The automation will try to play this source, if it fails, the first alternate source at Source2 will be tried. If that fails, the second alternate source at Source2 will be tried. For more information, refer to the HTML 5 video tag.
Type1 The media type for Source1. Similar to HTML 5 media type for the HTML 5 video tag. Media types are currently not used by LEADTOOLS.
Source2 The URL to the first alternate media file.
Type2 The media type for Source2.
Source3 The URL to the second alternate media file.
Type3 The media type for Source3.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly